Improper Certificate Validation in Node.js



Published: 2021-08-16 | Updated: 2022-03-11
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-22939
CWE-ID CWE-295
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Node.js
Server applications / Web servers

Vendor Node.js Foundation

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Improper Certificate Validation

EUVDB-ID: #VU61253

Risk: Medium

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

CVE-ID: CVE-2021-22939

CWE-ID: CWE-295 - Improper Certificate Validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to incomplete validation of rejectUnauthorized parameter. A remote attacker can cause the connections to servers with an expired certificate would have been accepted.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Node.js: 12.0.0 - 16.6.1

External links

http://hackerone.com/reports/1278254
http://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/
http://security.netapp.com/advisory/ntap-20210917-0003/
http://www.oracle.com/security-alerts/cpuoct2021.html
http://www.oracle.com/security-alerts/cpujan2022.html


Q & A

Can this vulnerability be exploited remotely?

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

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###