cve.bz

CVE-2023-42282 fedorindutny ip: SSRF

9.8 criticalExploit referenceEPSS 1.6%Fix available

Critical (9.8) in fedorindutny ip. EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in ip 1.1.9, 2.0.1.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2025-05-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-918 Server-Side Request Forgery (SSRF)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-42282 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-42282?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-42282?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-42282 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
fedorindutny:ipbefore 1.1.9
fedorindutny:ip2.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-78xj-cgh5-2h22npmip>=2.0.0 <2.0.12.0.1
GHSA-78xj-cgh5-2h22npmip<1.1.91.1.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12node-ipno fix listedDEBIAN-CVE-2023-42282
Debian13, 14node-ip2.0.1+~1.1.3-1DEBIAN-CVE-2023-42282
Ubuntu24.04:LTSnode-ip2.0.0+~1.1.0-1ubuntu1UBUNTU-CVE-2023-42282
UbuntuPro:18.04:LTSnode-ip1.1.5-1ubuntu0.1~esm1UBUNTU-CVE-2023-42282 USN-6643-1
UbuntuPro:20.04:LTSnode-ip1.1.5-5ubuntu0.1~esm1UBUNTU-CVE-2023-42282 USN-6643-1
UbuntuPro:22.04:LTSnode-ip1.1.5+~1.1.0-1ubuntu0.1~esm1UBUNTU-CVE-2023-42282 USN-6643-1
Azure Linux2nodejs16.20.2-3AZL-34379
Azure Linux2nodejs1818.18.2-4AZL-34380
Azure Linux2reaper3.1.1-10AZL-34439
Azure Linux3nodejs20.14.0-1AZL-35042

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

It appears that npm does not utilize the bundled code therefore Red Hat Enterprise Linux is not affected by this vulnerability.

While the vulnerability in the NPM IP Package presents a significant security concern, it's categorized as important rather than critical due to several factors. Firstly, the misclassification of the private IP address 0x7f.1 as public by the isPublic() function does not directly lead to remote code execution or unauthorized access to critical systems. Instead, it facilitates SSRF attacks, which typically require additional conditions to fully exploit, such as the ability to influence server-side requests and responses. Additionally, the impact of SSRF attacks can vary depending on the specific environment and configuration of the affected system. While SSRF attacks can potentially lead to data exposure, service disruption, or lateral movement within a network, their severity is often mitigated by factors such as network segmentation, access controls, and the availability of sensitive resources.

Red Hat Developer Hub contains a fix in 1.1-91 version.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
HawtIO 4.0.0 for Red Hat build of Apache Camel 4Fixed 2024-06-03RHSA-2024:3550
Migration Toolkit for Virtualization 2.5migration-toolkit-virtualization/mtv-console-plugin-rhel9:2.5.6-4Fixed 2024-03-20RHBA-2024:1440
NETWORK-OBSERVABILITY-1.6.0-RHEL-9network-observability/network-observability-cli-rhel9:v1.6.0-66Fixed 2024-06-17RHSA-2024:3868
NETWORK-OBSERVABILITY-1.6.0-RHEL-9network-observability/network-observability-console-plugin-rhel9:v1.6.0-66Fixed 2024-06-17RHSA-2024:3868
NETWORK-OBSERVABILITY-1.6.0-RHEL-9network-observability/network-observability-ebpf-agent-rhel9:v1.6.0-66Fixed 2024-06-17RHSA-2024:3868
NETWORK-OBSERVABILITY-1.6.0-RHEL-9network-observability/network-observability-flowlogs-pipeline-rhel9:v1.6.0-66Fixed 2024-06-17RHSA-2024:3868
NETWORK-OBSERVABILITY-1.6.0-RHEL-9network-observability/network-observability-operator-bundle:1.6.0-78Fixed 2024-06-17RHSA-2024:3868
NETWORK-OBSERVABILITY-1.6.0-RHEL-9network-observability/network-observability-rhel9-operator:v1.6.0-66Fixed 2024-06-17RHSA-2024:3868
Red Hat OpenShift Dev Spaces 3 Containersdevspaces/code-rhel8:3.17-19Fixed 2024-11-25RHSA-2024:10236
RHDH-1.1-RHEL-9rhdh/rhdh-hub-rhel9:1.1-97Fixed 2024-03-18RHEA-2024:1366
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Not affected
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Affected
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-main-rhel8Out of support scope
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-main-rhel8Not affected
Red Hat Enterprise Linux 8nodejs:16/nodejsNot affected
Red Hat Enterprise Linux 8nodejs:18/nodejsNot affected
Red Hat Enterprise Linux 8nodejs:20/nodejsNot affected
Red Hat Enterprise Linux 9nodejsNot affected
Red Hat Enterprise Linux 9nodejs:18/nodejsNot affected
Red Hat Enterprise Linux 9nodejs:20/nodejsNot affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-42282.

Attack patterns (CAPEC)

  • CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON