Vulnerabilities / CVE-2023-42282

critical

CVE-2023-42282

nodejs-ip: arbitrary code execution via the isPublic() function

Published Modified CWE 918
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux, CBL-Mariner. Rated lower by Red Hat (high), Ubuntu (medium), GHSA (low).

Description

The ip package before 1.1.9 for Node.js might allow SSRF because some IP addresses (such as 0x7f.1) are improperly categorized as globally routable via isPublic.

Affected packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0nodejs0:20.14.0-1.azl3
CBL-Mariner 2.0nodejs, nodejs18, reaper0:16.20.2-3.cm2 and 2 more
chainguardlerna, node-gyp, npm and 2 more8.1.2-r1 and 4 more
debian 10node-ipno fix listed
debian 11node-ipno fix listed
debian 12node-ipno fix listed
debian 13node-ip2.0.1+~1.1.3-1
debian 14node-ip2.0.1+~1.1.3-1
echonode-ip2.0.1+~1.1.3-1
npm::GitHub Security Advisory npmip2.0.1, 1.1.9
rapidfort debian 12node-ip0:2.0.1+~1.1.3-1
rapidfort debian 13node-ip0:2.0.1+~1.1.3-1
Show all 39 entries from 26 sources
SourcePackageFixed in
Azure Linux 3.0nodejs0:20.14.0-1.azl3
CBL-Mariner 2.0nodejs0:16.20.2-3.cm2
CBL-Mariner 2.0nodejs180:18.18.2-4.cm2
CBL-Mariner 2.0reaper0:3.1.1-10.cm2
chainguardlerna8.1.2-r1
chainguardnode-gyp10.1.0-r0
chainguardnpm10.4.0-r1
chainguardrenovate37.186.1-r0
chainguardsqlpad7.4.1-r1
debian 10node-ipno fix listed
debian 11node-ipno fix listed
debian 12node-ipno fix listed
debian 13node-ip2.0.1+~1.1.3-1
debian 14node-ip2.0.1+~1.1.3-1
echonode-ip2.0.1+~1.1.3-1
npm::GitHub Security Advisory npmip2.0.1, 1.1.9
rapidfort debian 12node-ip0:2.0.1+~1.1.3-1
rapidfort debian 13node-ip0:2.0.1+~1.1.3-1
rapidfort ubuntu 20.04node-ip0:2.0.0+~1.1.0-1ubuntu0.1
rapidfort ubuntu 20.04rf-node-ip0:2.0.0+~1.1.0-1ubuntu0.1
rapidfort ubuntu 22.04node-ip0:2.0.0+~1.1.0-1ubuntu0.1
rapidfort ubuntu 22.04rf-node-ip0:2.0.0+~1.1.0-1ubuntu0.1
rapidfort ubuntu 24.04node-ip0:2.0.0+~1.1.0-1ubuntu0.1
rapidfort ubuntu 24.04rf-node-ip0:2.0.0+~1.1.0-1ubuntu0.1
ubuntu 18.04-ESMnode-ip1.1.5-1ubuntu0.1~esm1
ubuntu 20.04-ESMnode-ip1.1.5-5ubuntu0.1~esm1
ubuntu 22.04node-ipno fix listed
ubuntu 23.10node-ip2.0.0+~1.1.0-1ubuntu0.1
ubuntu 24.04node-ip2.0.0+~1.1.0-1ubuntu1
ubuntu 24.10node-ip2.0.0+~1.1.0-1ubuntu1
ubuntu 25.04node-ip2.0.0+~1.1.0-1ubuntu1
ubuntu 25.10node-ip2.0.0+~1.1.0-1ubuntu1
ubuntu 26.04node-ip2.0.0+~1.1.0-1ubuntu1
ubuntu 26.10node-ip2.0.0+~1.1.0-1ubuntu1
wolfilerna8.1.2-r1
wolfinode-gyp10.1.0-r0
wolfinpm10.4.0-r1
wolfirenovate37.186.1-r0
wolfisqlpad7.4.1-r1

References

All 14 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.