CVE-2021-22918

libuv: out-of-bounds read in uv__idna_toascii() can lead to information disclosures or crashes

Published Jul 12, 2021 CVSS 3.1 · 5.3 Medium EPSS 23.1% KEV · Not listed
Description
Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is used to convert strings to ASCII. The pointer p is read and increased without checking whether it is beyond pe, with the latter holding a pointer to the end of the buffer. This can lead to information disclosures or crashes. This function can be triggered via uv_getaddrinfo().

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4936-1 libuv1 security update
Ubuntu USN Ubuntu USN USN-5007-1 libuv vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Apr 30, 2025, 10:24 PM
Reserved
Jan 6, 2021, 12:00 AM
Status
Modified
Published
Jul 12, 2021, 11:15 AM
Modified
Jun 17, 2026, 3:38 AM
Severity
Low
Public date
Jul 1, 2021, 12:00 AM