Skip to main content
Public proof of conceptFix available

CVE-2023-42282

A public proof of concept exists; no exploitation attested.

  • Published2024-02-08
  • Fixed in2.0.1 · 1.1.9
  • WeaknessCWE-918

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-02-0817:15CVE publishedNVD

Versions per branch

OSV · NVD
Fedorindutny ip
BranchAffectedFixed in
2.0≥ 2.0.0, < 2.0.12.0.1
1.1< 1.1.91.1.9
2.0= 2.0.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/ipRoot:npmall versions · fixed in 2.0.0-root.io.2
  • @rootio/ipRoot:npmall versions · fixed in 1.1.5-root.io.2
  • @rootio/ipRoot:npmall versions · fixed in 1.1.9-root.io.1
  • @rootio/ipRoot:npmall versions · fixed in 1.1.9-root.io.2
  • @rootio/ipRoot:npmall versions · fixed in 2.0.0-root.io.3
  • @rootio/ipRoot:npmall versions · fixed in 1.1.8-root.io.1
  • ipTuxCare:npmfrom 1.1.5-tuxcare.0 · fixed in 1.1.5-tuxcare.1
  • ipTuxCare:npmfrom 2.0.0-tuxcare.0 · fixed in 2.0.0-tuxcare.1

28 more package ranges on OSV.dev

Vendor advisories

  • CVE-2023-42282 Red Hat Product Security34 products fixed · 2 known affected

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

    workload-availability/node-remediation-console-rhel8 as a component of Node HealthCheck Operator · advanced-cluster-security/rhacs-main-rhel8 as a component of Red Hat Advanced Cluster Security 3

  • RHSA-2024:10236 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.17.0 release

  • RHSA-2024:3868 Red Hat Product Security24 products fixed

    Red Hat Security Advisory: Network Observability 1.6.0 for OpenShift

  • RHSA-2024:3550 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: HawtIO 4.0.0 for Red Hat build of Apache Camel 4 Release and security update.

  • RHBA-2024:1440 Red Hat Product Security1 product fixed

    Red Hat Bug Fix Advisory: MTV 2.5.6 Images

  • RHSA-2024:1383 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.15.0 security, enhancement, & bug fix update

1 more advisory

Full record on NVD

Fix

  1. Update Fedorindutny ip to 2.0.1 · 1.1.9
  2. Vendor fix Red Hat Product Security RHSA-2024:10236 · 3 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2024:3868 · 24 productsFor details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHBA-2024:1440 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  5. Vendor fix Red Hat Product Security RHSA-2024:1383 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  6. Workaround from the vendor Red Hat Product Security RHSA-2024:10236 · 34 productsMitigation 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.
  7. No fix available, says the vendor Red Hat Product Security CVE-2023-42282 · 1 productAffected

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2024-02-08
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-78xj-cgh5-2h22

Frequently asked questions

What is CVE-2023-42282?

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.

Is CVE-2023-42282 actively exploited?

A proof-of-concept exploit exists for CVE-2023-42282, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-42282?

CVE-2023-42282 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running nodejs-ip? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record