#VU54624 Out-of-bounds read in Node.js


Vulnerability identifier: #VU54624

Vulnerability risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-22918

CWE-ID: CWE-125

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Node.js
Server applications / Web servers

Vendor: Node.js Foundation

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in uv__idna_toascii() function in libuv, which is used to convert strings to ASCII. A remote attacker can force the application to resolve a specially crafted hostname, trigger an out-of-bounds read error and gain access to sensitive information or perform a denial of service (DoS) attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Node.js: 12.0.0, 12.1.0 - 12.19.1, 12.2.0 - 12.22.1, 12.3.0 - 12.3.1, 12.4.0, 12.5.0, 12.6.0, 12.7.0, 12.8.0 - 12.8.1, 12.9.0 - 12.9.1, 13.0.0 - 13.0.1, 13.1.0 - 13.14.0, 13.2.0, 13.3.0, 13.4.0, 13.5.0, 13.6.0, 13.7.0, 13.8.0, 13.9.0, 14.0.0, 14.1.0 - 14.17.1, 14.2.0, 14.3.0, 14.4.0, 14.5.0, 14.6.0, 14.7.0, 14.8.0, 14.9.0, 16.0.0, 16.1.0, 16.2.0, 16.3.0, 16.4.0


External links
http://nodejs.org/en/blog/vulnerability/july-2021-security-releases/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability