CVE-2022-43548: 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...
High CVSS 8.1
- CVE id
- CVE-2022-43548
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Node.js Runtimes and servers |
>= 14.0.0, <= 14.14.0 >= 14.15.0, < 14.21.1 >= 16.0.0, <= 16.12.0 >= 16.13.0, < 16.18.1 >= 18.0.0, <= 18.11.0 |
14.21.1, 16.18.1 |
How to fix it
Upgrade Node.js to the fixed release of the line you run: 14.21.1, 16.18.1.
node --version
- Install the patched Node.js release of your major line (nvm install, or the node image tag) everywhere the app runs and builds.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2022-43548 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-43548
- Web: https://lists.debian.org/debian-lts-announce/2023/02/msg00038.html
- Web: https://nodejs.org/en/blog/vulnerability/november-2022-security-releases/
- Web: https://security.netapp.com/advisory/ntap-20230120-0004/
- Web: https://security.netapp.com/advisory/ntap-20230427-0007/
- Web: https://www.debian.org/security/2023/dsa-5326
- Web: https://lists.debian.org/debian-lts-announce/2023/02/msg00038.html
- Web: https://nodejs.org/en/blog/vulnerability/november-2022-security-releases/
- Web: https://security.netapp.com/advisory/ntap-20230120-0004/
- Web: https://security.netapp.com/advisory/ntap-20230427-0007/
- Web: https://www.debian.org/security/2023/dsa-5326
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.