CVE-2021-22918
MEDIUM5.3EPSS 0.72%libuv1 - security update
Published: 7/12/2021Modified: 4/28/2026
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().
Affected packages (5)
- Alpine/nodejsfrom 0, < 12.22.2-r0
- Bitnami/node>= 12.0.0, < 12.22.2, >= 14.0.0, < 14.17.2, >= 16.0.0, < 16.4.1
- Bitnami/node-min>= 12.0.0, < 12.22.2, >= 14.0.0, < 14.17.2, >= 16.0.0, < 16.4.1
- Debian/libuv1from 0, < 1.40.0-2
- Debian/libuv1from 0, < 1.24.1-1+deb10u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
References (8)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2021-22918
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-22918
- WEBhttps://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- WEBhttps://hackerone.com/reports/1209681
- WEBhttps://nodejs.org/en/blog/vulnerability/july-2021-security-releases/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2021-22918
- WEBhttps://security.gentoo.org/glsa/202401-23
- WEBhttps://security.netapp.com/advisory/ntap-20210805-0003/