CVE-2024-24806
A public proof of concept exists; no exploitation attested.
- Published2024-02-07
- Fixed in1.48.0
- WeaknessCWE-918
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
libuv is a multi-platform support library with a focus on asynchronous I/O. The `uv_getaddrinfo` function in `src/unix/getaddrinfo.c` (and its windows counterpart `src/win/getaddrinfo.c`), truncates hostnames to 256 characters before calling `getaddrinfo`. This behavior can be exploited to create addresses like `0x00007f000001`, which are considered valid by `getaddrinfo` and could allow an attacker to craft payloads that resolve to unintended IP addresses, bypassing developer checks. The vulnerability arises due to how the `hostname_ascii` variable (with a length of 256 bytes) is handled in `uv_getaddrinfo` and subsequently in `uv__idna_toascii`. When the hostname exceeds 256 characters, it gets truncated without a terminating null byte. As a result attackers may be able to access internal APIs or for websites (similar to MySpace) that allows users to have `username.example.com` pages. Internal services that crawl or cache these user pages can be exposed to SSRF attacks if a malicious user chooses a long vulnerable username. This issue has been addressed in release version 1.48.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Timeline
dates in UTC- 2024-02-0722:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.24.0, < 1.48.0 | 1.48.0 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- libuvAffected
- = >= 1.45.0, < 1.48.0no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-07-18
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- cmakeAzure Linux:3all versions · fixed in 3.28.2-6
- libuvWolfiall versions · fixed in 1.48.0-r0
- libuvTuxCare:AlmaLinux:9.2all versions · fixed in 1:1.42.0-1.el9.tuxcare.els1and 2 other packages
- libuvSUSE:Linux Enterprise Module for Basesystem 15 SP6all versions · fixed in 1.44.2-150500.3.5.1
- libuvSUSE:Linux Enterprise Module for Basesystem 15 SP5all versions · fixed in 1.44.2-150500.3.5.1
- libuvSUSE:Linux Enterprise Micro 5.5all versions · fixed in 1.44.2-150500.3.5.1
- libuvRocky Linux:9all versions · fixed in 1:1.42.0-2.el9_4
- libuvRocky Linux:8all versions · fixed in 1:1.41.1-2.el8_10
100 more package ranges on OSV.dev
Vendor advisories
libuv: Improper Domain Lookup that potentially leads to SSRF attacks
nodejs as a component of Red Hat Enterprise Linux 9 · nodejs-docs as a component of Red Hat Enterprise Linux 9 · nodejs-full-i18n as a component of Red Hat Enterprise Linux 9 · +3 more
Siemens SINEC INS
SINEC INS
SSA-915275: Multiple Vulnerabilities in SINEC INS Before V1.0 SP2 Update 3
SINEC INS
Red Hat Security Advisory: libuv security update
Red Hat Security Advisory: libuv security update
Red Hat Security Advisory: libuv security update
Fix
- Update Libuv to 1.48.0
- Vendor fix Siemens ProductCERT SSA-915275 · 1 productUpdate to V1.0 SP2 Update 3 or later version
- Vendor fix CISA ICSA-24-319-08 · 1 productUpdate to V1.0 SP2 Update 3 or later version
- Vendor fix Red Hat Product Security RHSA-2024:8132 · 31 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2024:8132 · 31 productsMitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
- No fix planned, says the vendor Red Hat Product Security CVE-2024-24806 · 6 productsWill not fix
Advisories and patches
- github.comPatch
- github.comPatch
- github.comPatch
- github.comPatch
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-02-21
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- AZL-34278same flawAzure Linux · MIT
- AZL-34306same flawAzure Linux · MIT
- AZL-34957same flawAzure Linux · MIT
- AZL-35051same flawAzure Linux · MIT
- AZL-35133same flawAzure Linux · MIT
- AZL-35782same flawAzure Linux · MIT
- CGA-27qq-qp46-5264same flawChainguard · CC-BY-NC-ND-4.0
- CGA-323v-8xmh-64g5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-397w-v78g-5p4psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5788-4mqr-m7qhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7fxh-rxf5-m6fcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hj24-8427-m895same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jw9m-724c-4vvxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-m3c6-v22g-ff7hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-pq4g-43w6-v34psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xg38-px8c-v6xrsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-22182same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- ALSA-2024:4247advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:4756advisory covering several CVEsAlmaLinux · MIT
- DLA-3752-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5638-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2024-0079advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2024-1200advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:13697-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13818-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2024:4247advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4756advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:8132advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2024:4247advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2024:4756advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2024:0643-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0644-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0728-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0729-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0730-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0731-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0732-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0733-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:1301-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:1307-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:1309-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:4109-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-6666-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Published
- 2024-02-07
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2024-24806?
Is CVE-2024-24806 actively exploited?
What is the CVSS score for CVE-2024-24806?
Running libuv? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0