CVE-2022-43548
Reported by hackerone · Published December 5, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| npm | Amazon Linux | 1:8.19.2-1.18.12.1.1.amzn2023.0.2 |
| nodejs-docs | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| nodejs-libs | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| v8-devel | Amazon Linux | 2:10.2.154.15-1.18.12.1.1.amzn2023.0.2 |
| nodejs-devel | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| node | dhi.docker.com | 19.0.1, 18.12.1, 16.18.1, 14.21.1 |
| nodejs-full-i18n | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| node-min | Bitnami | 19.0.1, 18.12.1, 18.11.1, 16.18.1, 16.12.1, 14.21.1, 14.14.1 |
| node | Bitnami | 19.0.1, 18.12.1, 18.11.1, 16.18.1, 16.12.1, 14.21.1, 14.14.1 |
| nodejs | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| nodejs | Alpine | 18.12.1-r0 |
| alpine/nodejs-24 | alpine | 19.0.1, 18.12.1, 16.18.1, 14.21.1 |
8 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NodeJS | Node | 4.0, 5.0, 6.0 |
| amazon:2023 | npm | 0 |
| amazon:2023 | nodejs-docs | 0 |
| amazon:2023 | nodejs-libs | 0 |
| amazon:2023 | v8-devel | 0 |
| amazon:2023 | nodejs-devel | 0 |
| amazon:2023 | nodejs-full-i18n | 0 |
| NodeJS | Node | 16.0, 19.0, 14.0 |
| amazon:2023 | nodejs | 0 |
| alpine | nodejs | 0 |
Timeline
- Dec 5, 2022 CVE Published
- Dec 6, 2022 EPSS Score (30 in total, the first dated here)
- Dec 7, 2022 PoC Published (3 in total, the first dated here)
- Mar 10, 2026 Distribution Patch (49 in total, the first dated here)
- Mar 10, 2026 Security Advisory (55 in total, the first dated here)
- Jun 14, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-43548
vulnetix vdb fixes CVE-2022-43548
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-43548/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-5326 vendor-advisory
- [debian-lts-announce] 20230226 [SECURITY] [DLA 3344-1] nodejs security update mailing-list