CVE-2021-22918

Node.js 14 and 2 others: Out-of-bounds Read (CWE-125)

CVE-2021-22918 is fixed in 13 products on 2 platforms, first by Node.js 12 12.22.2, released July 1, 2021. It is not reported as exploited. Patch Radar priority: Routine.

RoutineFixed on 2 platforms
CVSS
5.3
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.2313
97th percentile

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().

Where it's fixed

ProductFixed inFixReleased
Windows apps
Node.js 12 12.22.2 Node.js 12 12.22.2 Jul 1, 2021
Node.js 14 14.17.2 Node.js 14 14.17.2 Jul 1, 2021
Node.js 16 16.4.1 Node.js 16 16.4.1 Jul 1, 2021
Linux
libuv · RHEL 8 1:1.41.1-1.el8_4 RHSA-2021:3075 Aug 10, 2021
libuv · ol 8 1:1.41.1-1.el8_4 ELSA-2021-3075 Aug 11, 2021
libuv-devel · RHEL 8 1:1.41.1-1.el8_4 RHSA-2021:3075 Aug 10, 2021
libuv-devel · ol 8 1:1.41.1-1.el8_4 ELSA-2021-3075 Aug 11, 2021
libuv1 · Ubuntu 20.04 LTS (focal) 1.34.2-1ubuntu1.3 libuv1 1.34.2-1ubuntu1.3 Jul 1, 2021
nodejs · RHEL 8 1:14.17.3-2.module+el8.4.0+11738+3bd42762 RHSA-2021:3074 Aug 10, 2021
nodejs · ol 8 1:12.22.3-2.module+el8.4.0+20281+eb64e322 ELSA-2021-3073 Aug 12, 2021
nodejs-devel · RHEL 8 1:14.17.3-2.module+el8.4.0+11738+3bd42762 RHSA-2021:3074 Aug 10, 2021
nodejs-devel · ol 8 1:12.22.3-2.module+el8.4.0+20281+eb64e322 ELSA-2021-3073 Aug 12, 2021
nodejs-docs · RHEL 8 1:14.17.3-2.module+el8.4.0+11738+3bd42762 RHSA-2021:3074 Aug 10, 2021
nodejs-docs · ol 8 1:12.22.3-2.module+el8.4.0+20281+eb64e322 ELSA-2021-3073 Aug 12, 2021
nodejs-full-i18n · RHEL 8 1:14.17.3-2.module+el8.4.0+11738+3bd42762 RHSA-2021:3074 Aug 10, 2021
nodejs-full-i18n · ol 8 1:12.22.3-2.module+el8.4.0+20281+eb64e322 ELSA-2021-3073 Aug 12, 2021
nodejs-nodemon · RHEL 8 0:2.0.3-1.module+el8.3.0+6519+9f98ed83 RHSA-2021:3074 Aug 10, 2021
nodejs-nodemon · ol 8 0:2.0.3-1.module+el8.4.0+20281+eb64e322 ELSA-2021-3073 Aug 12, 2021
nodejs-packaging · RHEL 8 0:23-3.module+el8.3.0+6519+9f98ed83 RHSA-2021:3074 Aug 10, 2021
nodejs-packaging · ol 8 0:17-3.module+el8.1.0+5393+aaf413e3 ELSA-2021-3073 Aug 12, 2021
npm · RHEL 8 1:6.14.13-1.14.17.3.2.module+el8.4.0+11738+3bd42762 RHSA-2021:3074 Aug 10, 2021
npm · ol 8 1:6.14.13-1.12.22.3.2.module+el8.4.0+20281+eb64e322 ELSA-2021-3073 Aug 12, 2021

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.