CVE-2021-22918
libuv1 - security update
5.3
MEDIUM
CVSS 3.1
EPSS 0.72%
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().
How to fix CVE-2021-22918
To remediate CVE-2021-22918, upgrade the affected package to a fixed version below.
- —upgrade to 12.22.2-r0 or later
- —upgrade to 12.22.2 or later
- —upgrade to 12.22.2 or later
- —upgrade to 1.40.0-2 or later
- —upgrade to 1.24.1-1+deb10u1 or later
Is CVE-2021-22918 being exploited?
Low — EPSS is 0.7%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 12.22.2-r0
- >= 12.0.0, < 12.22.2, >= 14.0.0, < 14.17.2, >= 16.0.0, < 16.4.1
- >= 12.0.0, < 12.22.2, >= 14.0.0, < 14.17.2, >= 16.0.0, < 16.4.1
- from 0, < 1.40.0-2
- from 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 |