CVE-2022-43548: Node.js - Command Injection
- Cve: CVE-2022-43548
- Name: Node.js - Command Injection
- Description: 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.
- Impact: Attackers can execute arbitrary OS commands via rebinding attacks, potentially leading to full system compromise.
- Remediation: Update to Node.js version 14.21.1, 16.18.1, 18.12.1, 19.0.1 or later versions where the fix is included.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirements: Attacker needs to bypass IP validation
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.14908
- Epss percentile: 0.96787
- Assignee: [email protected]
- Published at: 2022-12-05T22:15:10Z
- Age in days: 1450
- Modified at: 2026-06-17T05:06:48Z
- Patch available: yes
- References total: 5
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-43548
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Hackerone
- Reports: 2
- Rank: 3806
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://nodejs.org/en/blog/vulnerability/november-2022-security-releases/ | Patch, Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2023/02/msg00038.html | Mailing List, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20230120-0004/ | Third Party Advisory |
| https://www.debian.org/security/2023/dsa-5326 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20230427-0007/ |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nodejs:node.js | = 19.0.0; = 18.12.0; >= 18.0.0, <= 18.11.0; >= 16.13.0, < 16.18.1; >= 16.0.0, <= 16.12.0; >= 14.15.0, < 14.21.1; >= 14.0.0, <= 14.14.0 | no | nvd | /v1/products/nodejs/node.js |
| debian:debian_linux | = 11.0, = 10.0 | no | nvd | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nodejs/node | fix | yes | /v1/repositories/nodejs/node |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Hackerone reports: 2
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since