Node.js up to 14.21.0/16.18.0/18.12.0/19.0.0 IsAllowedHost os command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.7$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in Node.js up to 14.21.0/16.18.0/18.12.0/19.0.0. This impacts an unknown function of the component IsAllowedHost Handler. Performing a manipulation results in os command injection. This vulnerability is cataloged as CVE-2022-43548. There is no exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability classified as critical has been found in Node.js up to 14.21.0/16.18.0/18.12.0/19.0.0 (JavaScript Library). This affects some unknown functionality of the component IsAllowedHost Handler. The manipulation with an unknown input leads to a os command injection vulnerability. CWE is classifying the issue as CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

A OS Command Injection vulnerability exists in Node.js versions <14.21.1, <16.18.1, <18.12.1, <19.0.1 due to an insufficient IsAllowedHost check that can easily be bypassed because IsIPAddress does not properly check if an IP address is invalid before making DBS requests allowing rebinding attacks.The fix for this issue in https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32212 was incomplete and this new CVE is to complete the fix.

The weakness was shared 12/06/2022. It is possible to read the advisory at nodejs.org. This vulnerability is uniquely identified as CVE-2022-43548 since 10/20/2022. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1202 according to MITRE ATT&CK.

The vulnerability scanner Nessus provides a plugin with the ID 216256 (Oracle Linux 8 : nodejs:20 (ELSA-2025-1351)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 14.21.1, 16.18.1, 18.12.1 or 19.0.1 eliminates this vulnerability. The upgrade is hosted for download at nodejs.org.

The vulnerability is also documented in the vulnerability database at Tenable (216256). Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.7

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.1
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Os command injection
CWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 216256
Nessus Name: Oracle Linux 8 : nodejs:20 (ELSA-2025-1351)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Node.js 14.21.1/16.18.1/18.12.1/19.0.1

Timelineinfo

10/20/2022 🔍
12/06/2022 +47 days 🔍
12/06/2022 +0 days 🔍
02/14/2025 +801 days 🔍

Sourcesinfo

Advisory: nodejs.org
Status: Confirmed

CVE: CVE-2022-43548 (🔍)
GCVE (CVE): GCVE-0-2022-43548
GCVE (VulDB): GCVE-100-214839

Entryinfo

Created: 12/06/2022 09:21
Updated: 02/14/2025 13:49
Changes: 12/06/2022 09:21 (41), 12/26/2022 13:27 (11), 02/14/2025 13:49 (17)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!