CVE-2021-22918
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().
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 16.4.1-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.40.0-2 |
| sid | Fixed | 1.40.0-2 |
| forky | Fixed | 1.40.0-2 |
| bullseye | Fixed | 1.40.0-2 |
| bookworm | Fixed | 1.40.0-2 |
Red Hat Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
Rocky Linux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
References
- https://security.archlinux.org/ASA-202107-13
- https://security.archlinux.org/ASA-202107-36
- https://errata.rockylinux.org/RLSA-2021:3075
- https://errata.rockylinux.org/RLSA-2021:3074
- https://errata.rockylinux.org/RLSA-2021:3073
- https://security-tracker.debian.org/tracker/CVE-2021-22918
- https://errata.almalinux.org/8/ALSA-2021-3075.html
- https://errata.almalinux.org/8/ALSA-2021-3073.html
- https://errata.almalinux.org/8/ALSA-2021-3074.html
- https://access.redhat.com/errata/RHSA-2021:3073
- https://access.redhat.com/errata/RHSA-2021:3074
- https://access.redhat.com/errata/RHSA-2021:3075
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.