ALAS2-2024-2474
Active ModerateALAS2-2024-2474 (medium): libuv
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2024-24806 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2-2024-2474.html |
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
Read full publisher description 1200 characters
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. (CVE-2024-24806)
Solution
Run yum update libuv or yum update --advisory ALAS2-2024-2474 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 4 occurrences-
1libuv
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- libuv-1.39.0-1.amzn2.0.2.aarch64
- libuv-devel-1.39.0-1.amzn2.0.2.aarch64
- libuv-static-1.39.0-1.amzn2.0.2.aarch64
- libuv-debuginfo-1.39.0-1.amzn2.0.2.aarch64
-
2libuv
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- libuv-1.39.0-1.amzn2.0.2.i686
- libuv-devel-1.39.0-1.amzn2.0.2.i686
- libuv-static-1.39.0-1.amzn2.0.2.i686
- libuv-debuginfo-1.39.0-1.amzn2.0.2.i686
-
3libuv
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- libuv-1.39.0-1.amzn2.0.2.src
-
4libuv
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- libuv-1.39.0-1.amzn2.0.2.x86_64
- libuv-devel-1.39.0-1.amzn2.0.2.x86_64
- libuv-static-1.39.0-1.amzn2.0.2.x86_64
- libuv-debuginfo-1.39.0-1.amzn2.0.2.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2024-24806 https://access.redhat.com/security/cve/CVE-2024-24806
- CVE-2024-24806 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24806
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2024-2474.html | Unknown | 5ddbbb027bffdee1f724a0c3e9382b21055461e6db1b48553146f64545c11511 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2474.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2474.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |