Advisory

DEBIAN-CVE-2024-24806

Also known as: CVE-2024-24806

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2024-02-07 22:15 UTC
Modified
2026-11-02 12:01 UTC

Affected packages and fixes

libuv1

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.44.2-1+deb12u1 (ecosystem)

Fixed versions

1.44.2-1+deb12u1

Fix

  • Fixed version 1.44.2-1+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libuv1

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.48.0-1 (ecosystem)

Fixed versions

1.48.0-1

Fix

  • Fixed version 1.48.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libuv1

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.48.0-1 (ecosystem)

Fixed versions

1.48.0-1

Fix

  • Fixed version 1.48.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences