Out-of-bounds Read Affecting nodejs-packaging package, versions <0:17-3.module+el8.1.0+5393+aaf413e3
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-ORACLE8-NODEJSPACKAGING-2585501
- published 10 Apr 2022
- disclosed 12 Jul 2021
Introduced: 12 Jul 2021
CVE-2021-22918 Open this link in a new tabHow to fix?
Upgrade Oracle:8
nodejs-packaging
to version 0:17-3.module+el8.1.0+5393+aaf413e3 or higher.
This issue was patched in ELSA-2021-3073
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream nodejs-packaging
package and not the nodejs-packaging
package as distributed by Oracle
.
See How to fix?
for Oracle:8
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://linux.oracle.com/cve/CVE-2021-22918.html
- https://linux.oracle.com/errata/ELSA-2021-3073.html
- https://linux.oracle.com/errata/ELSA-2021-3074.html
- https://linux.oracle.com/errata/ELSA-2021-3075.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://hackerone.com/reports/1209681
- https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/
- https://security.netapp.com/advisory/ntap-20210805-0003/
- https://security.gentoo.org/glsa/202401-23