Multiple vulnerabilities in Node.js



Published: 2022-10-04
Risk High
Patch available YES
Number of vulnerabilities 7
CVE-ID CVE-2022-35255
CVE-2022-32212
CVE-2018-7160
CVE-2022-32215
CVE-2022-32213
CVE-2022-35256
CVE-2022-32222
CWE-ID CWE-330
CWE-703
CWE-20
CWE-444
CWE-254
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 information about 7 vulnerabilities.

1) Use of insufficiently random values

EUVDB-ID: #VU67849

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-35255

CWE-ID: CWE-330 - Use of Insufficiently Random Values

Exploit availability: No

Description

The vulnerability allows a remote attacker to decrypt sensitive information.

The vulnerability exists due to usage of weak randomness in WebCrypto keygen within the SecretKeyGenTraits::DoKeyGen() in src/crypto/crypto_keygen.cc. A remote attacker can decrypt sensitive information.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Node.js: 16.1.0 - 16.17.0, 14.2.0 - 14.20.0, 18.4.0, 18.3.0, 16.15.0 - 16.15.1, 14.19.0 - 14.19.3, 18.2.0, 18.1.0, 18.0.0, 17.9.0, 17.8.0, 17.7.0 - 17.7.2, 16.14.0 - 16.14.2, 17.6.0, 17.5.0, 17.4.0, 17.3.0 - 17.3.1, 16.13.0 - 16.13.2, 14.18.0 - 14.18.3, 17.2.0, 17.1.0, 17.0.0 - 17.0.1, 16.12.0, 16.11.0 - 16.11.1, 16.10.0, 16.9.0 - 16.9.1, 14.17.0 - 14.17.6, 16.8.0, 16.7.0, 16.6.0 - 16.6.2, 16.5.0, 16.4.0 - 16.4.2, 16.3.0, 16.2.0, 16.0.0, 15.14.0, 14.16.0 - 14.16.1, 15.13.0, 15.12.0, 15.11.0, 15.10.0, 15.9.0, 14.15.0 - 14.15.5, 15.8.0, 15.7.0, 15.6.0, 15.5.0 - 15.5.1, 15.4.0, 15.3.0, 15.2.0 - 15.2.1, 15.1.0, 15.0.0 - 15.0.1, 14.14.0, 14.13.0 - 14.13.1, 14.12.0, 14.11.0, 14.10.0 - 14.10.1, 14.9.0, 14.8.0, 14.7.0, 14.6.0, 14.5.0, 14.4.0, 14.3.0, 14.1.0, 14.0.0


CPE2.3 External links

http://nodejs.org/en/blog/vulnerability/september-2022-security-releases/

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?

2) Improper Check or Handling of Exceptional Conditions

EUVDB-ID: #VU65273

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-32212

CWE-ID: CWE-703 - Improper Check or Handling of Exceptional Conditions

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to IsIPAddress does not properly checks if an IP address is invalid or not. A remote unauthenticated attacker can exploit this vulnerability to bypass the IsAllowedHost check and execute arbitrary code on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Node.js: 16.1.0 - 16.17.0, 14.2.0 - 14.20.0, 18.4.0, 18.3.0, 16.15.0 - 16.15.1, 14.19.0 - 14.19.3, 18.2.0, 18.1.0, 18.0.0, 17.9.0, 17.8.0, 17.7.0 - 17.7.2, 16.14.0 - 16.14.2, 17.6.0, 17.5.0, 17.4.0, 17.3.0 - 17.3.1, 16.13.0 - 16.13.2, 14.18.0 - 14.18.3, 17.2.0, 17.1.0, 17.0.0 - 17.0.1, 16.12.0, 16.11.0 - 16.11.1, 16.10.0, 16.9.0 - 16.9.1, 14.17.0 - 14.17.6, 16.8.0, 16.7.0, 16.6.0 - 16.6.2, 16.5.0, 16.4.0 - 16.4.2, 16.3.0, 16.2.0, 16.0.0, 15.14.0, 14.16.0 - 14.16.1, 15.13.0, 15.12.0, 15.11.0, 15.10.0, 15.9.0, 14.15.0 - 14.15.5, 15.8.0, 15.7.0, 15.6.0, 15.5.0 - 15.5.1, 15.4.0, 15.3.0, 15.2.0 - 15.2.1, 15.1.0, 15.0.0 - 15.0.1, 14.14.0, 14.13.0 - 14.13.1, 14.12.0, 14.11.0, 14.10.0 - 14.10.1, 14.9.0, 14.8.0, 14.7.0, 14.6.0, 14.5.0, 14.4.0, 14.3.0, 14.1.0, 14.0.0


CPE2.3 External links

http://nodejs.org/en/blog/vulnerability/september-2022-security-releases/

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?

3) Improper input validation

EUVDB-ID: #VU12576

Risk: High

CVSSv3.1:

CVE-ID: CVE-2018-7160

CWE-ID: CWE-20 - Improper Input Validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to improper validation of the Host header, leaving the inspector vulnerable to a DNS rebind attack and bypass same-origin policy. A remote attacker can trick the victim into opening a specially crafted website and execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Node.js: 16.1.0 - 16.17.0, 14.2.0 - 14.20.0, 18.4.0, 18.3.0, 16.15.0 - 16.15.1, 14.19.0 - 14.19.3, 18.2.0, 18.1.0, 18.0.0, 17.9.0, 17.8.0, 17.7.0 - 17.7.2, 16.14.0 - 16.14.2, 17.6.0, 17.5.0, 17.4.0, 17.3.0 - 17.3.1, 16.13.0 - 16.13.2, 14.18.0 - 14.18.3, 17.2.0, 17.1.0, 17.0.0 - 17.0.1, 16.12.0, 16.11.0 - 16.11.1, 16.10.0, 16.9.0 - 16.9.1, 14.17.0 - 14.17.6, 16.8.0, 16.7.0, 16.6.0 - 16.6.2, 16.5.0, 16.4.0 - 16.4.2, 16.3.0, 16.2.0, 16.0.0, 15.14.0, 14.16.0 - 14.16.1, 15.13.0, 15.12.0, 15.11.0, 15.10.0, 15.9.0, 14.15.0 - 14.15.5, 15.8.0, 15.7.0, 15.6.0, 15.5.0 - 15.5.1, 15.4.0, 15.3.0, 15.2.0 - 15.2.1, 15.1.0, 15.0.0 - 15.0.1, 14.14.0, 14.13.0 - 14.13.1, 14.12.0, 14.11.0, 14.10.0 - 14.10.1, 14.9.0, 14.8.0, 14.7.0, 14.6.0, 14.5.0, 14.4.0, 14.3.0, 14.1.0, 14.0.0


CPE2.3 External links

http://nodejs.org/en/blog/vulnerability/september-2022-security-releases/

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?

4) Inconsistent interpretation of HTTP requests

EUVDB-ID: #VU65282

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-32215

CWE-ID: CWE-444 - Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform HTTP request smuggling attacks.

The vulnerability exists due to llhttp parser in the http module does not correctly handle multi-line Transfer-Encoding headers. A remote attacker can send a specially crafted HTTP request to the server and smuggle arbitrary HTTP headers.

Successful exploitation of vulnerability may allow an attacker to poison HTTP cache and perform phishing attacks.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Node.js: 16.1.0 - 16.17.0, 14.2.0 - 14.20.0, 18.4.0, 18.3.0, 16.15.0 - 16.15.1, 14.19.0 - 14.19.3, 18.2.0, 18.1.0, 18.0.0, 17.9.0, 17.8.0, 17.7.0 - 17.7.2, 16.14.0 - 16.14.2, 17.6.0, 17.5.0, 17.4.0, 17.3.0 - 17.3.1, 16.13.0 - 16.13.2, 14.18.0 - 14.18.3, 17.2.0, 17.1.0, 17.0.0 - 17.0.1, 16.12.0, 16.11.0 - 16.11.1, 16.10.0, 16.9.0 - 16.9.1, 14.17.0 - 14.17.6, 16.8.0, 16.7.0, 16.6.0 - 16.6.2, 16.5.0, 16.4.0 - 16.4.2, 16.3.0, 16.2.0, 16.0.0, 15.14.0, 14.16.0 - 14.16.1, 15.13.0, 15.12.0, 15.11.0, 15.10.0, 15.9.0, 14.15.0 - 14.15.5, 15.8.0, 15.7.0, 15.6.0, 15.5.0 - 15.5.1, 15.4.0, 15.3.0, 15.2.0 - 15.2.1, 15.1.0, 15.0.0 - 15.0.1, 14.14.0, 14.13.0 - 14.13.1, 14.12.0, 14.11.0, 14.10.0 - 14.10.1, 14.9.0, 14.8.0, 14.7.0, 14.6.0, 14.5.0, 14.4.0, 14.3.0, 14.1.0, 14.0.0


CPE2.3 External links

http://nodejs.org/en/blog/vulnerability/september-2022-security-releases/

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?

5) Inconsistent interpretation of HTTP requests

EUVDB-ID: #VU65275

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-32213

CWE-ID: CWE-444 - Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform HTTP request smuggling attacks.

The vulnerability exists due to improper validation of HTTP requests. A remote attacker can send a specially-crafted request to lead to HTTP Request Smuggling to poison the web cache, bypass web application firewall protection, and conduct XSS attacks.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Node.js: 16.1.0 - 16.17.0, 14.2.0 - 14.20.0, 18.4.0, 18.3.0, 16.15.0 - 16.15.1, 14.19.0 - 14.19.3, 18.2.0, 18.1.0, 18.0.0, 17.9.0, 17.8.0, 17.7.0 - 17.7.2, 16.14.0 - 16.14.2, 17.6.0, 17.5.0, 17.4.0, 17.3.0 - 17.3.1, 16.13.0 - 16.13.2, 14.18.0 - 14.18.3, 17.2.0, 17.1.0, 17.0.0 - 17.0.1, 16.12.0, 16.11.0 - 16.11.1, 16.10.0, 16.9.0 - 16.9.1, 14.17.0 - 14.17.6, 16.8.0, 16.7.0, 16.6.0 - 16.6.2, 16.5.0, 16.4.0 - 16.4.2, 16.3.0, 16.2.0, 16.0.0, 15.14.0, 14.16.0 - 14.16.1, 15.13.0, 15.12.0, 15.11.0, 15.10.0, 15.9.0, 14.15.0 - 14.15.5, 15.8.0, 15.7.0, 15.6.0, 15.5.0 - 15.5.1, 15.4.0, 15.3.0, 15.2.0 - 15.2.1, 15.1.0, 15.0.0 - 15.0.1, 14.14.0, 14.13.0 - 14.13.1, 14.12.0, 14.11.0, 14.10.0 - 14.10.1, 14.9.0, 14.8.0, 14.7.0, 14.6.0, 14.5.0, 14.4.0, 14.3.0, 14.1.0, 14.0.0


CPE2.3 External links

http://nodejs.org/en/blog/vulnerability/september-2022-security-releases/

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?

6) Inconsistent interpretation of HTTP requests

EUVDB-ID: #VU67850

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-35256

CWE-ID: CWE-444 - Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform HTTP request smuggling attacks.

The vulnerability exists due to improper validation of HTTP requests. A remote attacker can send a specially crafted HTTP request to the server and smuggle arbitrary HTTP headers.

Successful exploitation of vulnerability may allow an attacker to poison HTTP cache and perform phishing attacks.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Node.js: 16.1.0 - 16.17.0, 14.2.0 - 14.20.0, 18.4.0, 18.3.0, 16.15.0 - 16.15.1, 14.19.0 - 14.19.3, 18.2.0, 18.1.0, 18.0.0, 17.9.0, 17.8.0, 17.7.0 - 17.7.2, 16.14.0 - 16.14.2, 17.6.0, 17.5.0, 17.4.0, 17.3.0 - 17.3.1, 16.13.0 - 16.13.2, 14.18.0 - 14.18.3, 17.2.0, 17.1.0, 17.0.0 - 17.0.1, 16.12.0, 16.11.0 - 16.11.1, 16.10.0, 16.9.0 - 16.9.1, 14.17.0 - 14.17.6, 16.8.0, 16.7.0, 16.6.0 - 16.6.2, 16.5.0, 16.4.0 - 16.4.2, 16.3.0, 16.2.0, 16.0.0, 15.14.0, 14.16.0 - 14.16.1, 15.13.0, 15.12.0, 15.11.0, 15.10.0, 15.9.0, 14.15.0 - 14.15.5, 15.8.0, 15.7.0, 15.6.0, 15.5.0 - 15.5.1, 15.4.0, 15.3.0, 15.2.0 - 15.2.1, 15.1.0, 15.0.0 - 15.0.1, 14.14.0, 14.13.0 - 14.13.1, 14.12.0, 14.11.0, 14.10.0 - 14.10.1, 14.9.0, 14.8.0, 14.7.0, 14.6.0, 14.5.0, 14.4.0, 14.3.0, 14.1.0, 14.0.0


CPE2.3 External links

http://nodejs.org/en/blog/vulnerability/september-2022-security-releases/

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?

7) Security features bypass

EUVDB-ID: #VU65280

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-32222

CWE-ID: CWE-254 - Security Features

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass security restrictions

The vulnerability exists due to Node.js after start on linux based systems attempts to read /home/iojs/build/ws/out/Release/obj.target/deps/openssl/openssl.cnf, which ordinarily doesn't exist. A remote unauthenticated attacker can attemp to read openssl.cnf from /home/iojs/build/ upon startup to create this file and affect the default OpenSSL configuration for other users.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Node.js: 18.4.0, 18.3.0, 18.2.0, 18.1.0, 18.0.0


CPE2.3 External links

http://nodejs.org/en/blog/vulnerability/september-2022-security-releases/

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###