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().
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
Debian DSA |
DSA-4936-1 | libuv1 security update |
Ubuntu USN |
USN-5007-1 | libuv vulnerability |
References
History
No history.
Status: PUBLISHED
Assigner: hackerone
Published:
Updated: 2025-04-30T22:24:33.832Z
Reserved: 2021-01-06T00:00:00.000Z
Link: CVE-2021-22918
No data.
Status : Modified
Published: 2021-07-12T11:15:07.937
Modified: 2024-11-21T05:50:54.763
Link: CVE-2021-22918
OpenCVE Enrichment
No data.
Weaknesses
Debian DSA
Ubuntu USN