Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2024-2474

Active Moderate

ALAS2-2024-2474 (medium): libuv

Published
04 Mar 2024
Updated
04 Mar 2024

Related CVEs

CVE identifiers linked by this publisher.

1
Publisher relationship details 1 records
Explicit publisher CVE relationships
CVERelationshipPublisher CVE fieldPublisher evidence
CVE-2024-24806Listed by advisory
Exact relationship valueadvisory_list
Publisher references
Exact 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.

4

Shared package data

Applies to all 4 occurrences
  1. 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
  2. 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
  3. 3libuv

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • libuv-1.39.0-1.amzn2.0.2.src
  4. 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.

0

No CVSS assessments were provided.

Publisher references

2
  • CVE-2024-24806 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2024-24806
  • CVE-2024-24806 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24806

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2024-2474.htmlUnknown5ddbbb027bffdee1f724a0c3e9382b21055461e6db1b48553146f64545c11511amazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2024-2474.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2024-2474.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected