CVE-2024-24806
published high CVSS 3.1 · 7.3Improper Domain Lookup that potentially leads to SSRF attacks in libuv
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libuv | — | libuv>= 1.45.0, < 1.48.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2474 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-540 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | libuv | Advisory build | 1:1.41.1-2.el8_10 | ALSA-2024:4247 |
| Alpine Linux | edge | libuv | Fixed | 1.48.0-r0 | Package fix record |
| Oracle Linux | 8 | libuvaarch64 | Advisory build | 1:1.41.1-2.el8_10 | ELSA-2024-4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuvaarch64 | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bookworm | libuv1 | Advisory build | 1.44.2-1+deb12u1 | DSA-5638-1 |
| SUSE / openSUSE | SLE-12 | nodejs16aarch64 | Advisory build | 16.20.2-8.39.1 | SUSE-SU-2024:0731-1 |
| AlmaLinux | 9 | libuv | Advisory build | 1:1.42.0-2.el9_4 | ALSA-2024:4756 |
| Alpine Linux | v3.20 | libuv | Fixed | 1.48.0-r0 | Package fix record |
| Alpine Linux | v3.21 | libuv | Fixed | 1.48.0-r0 | Package fix record |
| Alpine Linux | v3.22 | libuv | Fixed | 1.48.0-r0 | Package fix record |
| Alpine Linux | v3.23 | libuv | Fixed | 1.48.0-r0 | Package fix record |
| Alpine Linux | v3.24 | libuv | Fixed | 1.48.0-r0 | Package fix record |
| Oracle Linux | 8 | libuvx86_64 | Advisory build | 1:1.41.1-2.el8_10 | ELSA-2024-4247 |
| Oracle Linux | 9 | libuvaarch64 | Advisory build | 1:1.42.0-2.el9_4 | ELSA-2024-4756 |
| Oracle Linux | 9 | libuvx86_64 | Advisory build | 1:1.42.0-2.el9_4 | ELSA-2024-4756 |
| Red Hat Enterprise Linux | RHEL-8 | libuvaarch64 | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuvi686 | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuvi686 | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuvppc64le | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuvppc64le | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuvs390x | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuvs390x | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuvsrc | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuvsrc | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuvx86_64 | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuvx86_64 | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-9 | libuvaarch64 | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuvi686 | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuvppc64le | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuvs390x | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuvsrc | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuvx86_64 | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| AlmaLinux | 8 | libuv-devel | Advisory build | 1:1.41.1-2.el8_10 | ALSA-2024:4247 |
| AlmaLinux | 9 | libuv-devel | Advisory build | 1:1.42.0-2.el9_4 | ALSA-2024:4756 |
| Debian | bullseye | libuv1 | Advisory build | 1.40.0-2+deb11u1 | DSA-5638-1 |
| Debian | buster | libuv1 | Advisory build | 1.24.1-1+deb10u2 | DLA-3752-1 |
| Oracle Linux | 8 | libuv-develaarch64 | Advisory build | 1:1.41.1-2.el8_10 | ELSA-2024-4247 |
| Oracle Linux | 8 | libuv-develx86_64 | Advisory build | 1:1.41.1-2.el8_10 | ELSA-2024-4247 |
| Oracle Linux | 9 | libuv-develaarch64 | Advisory build | 1:1.42.0-2.el9_4 | ELSA-2024-4756 |
| Oracle Linux | 9 | libuv-develx86_64 | Advisory build | 1:1.42.0-2.el9_4 | ELSA-2024-4756 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debuginfoaarch64 | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debuginfoaarch64 | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debuginfoi686 | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debuginfoi686 | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debuginfoppc64le | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debuginfoppc64le | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debuginfos390x | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debuginfos390x | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debuginfox86_64 | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debuginfox86_64 | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debugsourceaarch64 | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debugsourceaarch64 | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debugsourcei686 | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debugsourcei686 | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debugsourceppc64le | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debugsourceppc64le | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debugsources390x | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debugsources390x | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debugsourcex86_64 | Advisory build | 1:1.41.1-1.el8_8.1 | RHSA-2024:8132 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-debugsourcex86_64 | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-develaarch64 | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-develi686 | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-develppc64le | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-devels390x | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-8 | libuv-develx86_64 | Advisory build | 1:1.41.1-2.el8_10 | RHSA-2024:4247 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-debuginfoaarch64 | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-debuginfoi686 | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-debuginfoppc64le | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-debuginfos390x | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-debuginfox86_64 | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-debugsourceaarch64 | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-debugsourcei686 | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-debugsourceppc64le | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-debugsources390x | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-debugsourcex86_64 | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-develaarch64 | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-develi686 | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-develppc64le | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-devels390x | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| Red Hat Enterprise Linux | RHEL-9 | libuv-develx86_64 | Advisory build | 1:1.42.0-2.el9_4 | RHSA-2024:4756 |
| SUSE / openSUSE | SLE-12 | nodejs16ppc64le | Advisory build | 16.20.2-8.39.1 | SUSE-SU-2024:0731-1 |
| SUSE / openSUSE | SLE-12 | nodejs16s390x | Advisory build | 16.20.2-8.39.1 | SUSE-SU-2024:0731-1 |
| SUSE / openSUSE | SLE-12 | nodejs16x86_64 | Advisory build | 16.20.2-8.39.1 | SUSE-SU-2024:0731-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-develaarch64 | Advisory build | 16.20.2-8.39.1 | SUSE-SU-2024:0731-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-develppc64le | Advisory build | 16.20.2-8.39.1 | SUSE-SU-2024:0731-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-devels390x | Advisory build | 16.20.2-8.39.1 | SUSE-SU-2024:0731-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-develx86_64 | Advisory build | 16.20.2-8.39.1 | SUSE-SU-2024:0731-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-docsnoarch | Advisory build | 16.20.2-8.39.1 | SUSE-SU-2024:0731-1 |
| SUSE / openSUSE | SLE-12 | nodejs18aarch64 | Advisory build | 18.19.1-8.18.1 | SUSE-SU-2024:0644-1 |
| SUSE / openSUSE | SLE-12 | nodejs18aarch64 | Advisory build | 18.20.1-8.21.1 | SUSE-SU-2024:1307-1 |
| SUSE / openSUSE | SLE-12 | nodejs18ppc64le | Advisory build | 18.19.1-8.18.1 | SUSE-SU-2024:0644-1 |
| SUSE / openSUSE | SLE-12 | nodejs18ppc64le | Advisory build | 18.20.1-8.21.1 | SUSE-SU-2024:1307-1 |
| SUSE / openSUSE | SLE-12 | nodejs18s390x | Advisory build | 18.19.1-8.18.1 | SUSE-SU-2024:0644-1 |
| SUSE / openSUSE | SLE-12 | nodejs18s390x | Advisory build | 18.20.1-8.21.1 | SUSE-SU-2024:1307-1 |
| SUSE / openSUSE | SLE-12 | nodejs18x86_64 | Advisory build | 18.19.1-8.18.1 | SUSE-SU-2024:0644-1 |
| SUSE / openSUSE | SLE-12 | nodejs18x86_64 | Advisory build | 18.20.1-8.21.1 | SUSE-SU-2024:1307-1 |
| SUSE / openSUSE | SLE-12 | nodejs18-develaarch64 | Advisory build | 18.19.1-8.18.1 | SUSE-SU-2024:0644-1 |
| SUSE / openSUSE | SLE-12 | nodejs18-develaarch64 | Advisory build | 18.20.1-8.21.1 | SUSE-SU-2024:1307-1 |
| SUSE / openSUSE | SLE-12 | nodejs18-develppc64le | Advisory build | 18.19.1-8.18.1 | SUSE-SU-2024:0644-1 |
| SUSE / openSUSE | SLE-12 | nodejs18-develppc64le | Advisory build | 18.20.1-8.21.1 | SUSE-SU-2024:1307-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libuv | libuv | >= 1.45.0, < 1.48.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
11- http://www.openwall.com/lists/oss-security/2024/02/08/2
- http://www.openwall.com/lists/oss-security/2024/02/11/1
- http://www.openwall.com/lists/oss-security/2024/03/11/1
- https://github.com/libuv/libuv/commit/0f2d7e784a256b54b2385043438848047bc2a629
- https://github.com/libuv/libuv/commit/3530bcc30350d4a6ccf35d2f7b33e23292b9de70
- https://github.com/libuv/libuv/commit/c858a147643de38a09dd4164758ae5b685f2b488
- https://github.com/libuv/libuv/commit/e0327e1d508b8207c9150b6e582f0adf26213c39
- https://github.com/libuv/libuv/security/advisories/GHSA-f74f-cvh7-c6q6
- https://gitlab.kitware.com/cmake/cmake/-/issues/26112
- https://lists.debian.org/debian-lts-announce/2024/03/msg00005.html
- https://security.netapp.com/advisory/ntap-20240605-0008/
Provider assertions
3GitHub_M · cna
Improper Domain Lookup that potentially leads to SSRF attacks in libuv
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6cc4bd314a536e37c957026b715852aaaac62cf8eb9ee786071927122d099c92
- Ingested
- 23 Sep 2026, 08:19:54 UTC
- Source record
- Official CVE record