Out-of-bounds Read Affecting nodejs10 package, versions <10.24.1-1.36.1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES151-NODEJS10-2670684
- published 14 Apr 2022
- disclosed 15 Jul 2021
Introduced: 15 Jul 2021
CVE-2021-22918 Open this link in a new tabHow to fix?
Upgrade SLES:15.1 nodejs10 to version 10.24.1-1.36.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream nodejs10 package and not the nodejs10 package as distributed by SLES.
See How to fix? for SLES:15.1 relevant fixed versions and status.
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().
References
- https://www.suse.com/security/cve/CVE-2021-22918.html
- https://bugzilla.suse.com/1187973
- https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/
- https://hackerone.com/reports/1209681
- https://security.netapp.com/advisory/ntap-20210805-0003/
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://security.gentoo.org/glsa/202401-23