CVE-2023-42282
nodejs-ip: arbitrary code execution via the isPublic() function
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
2Exploited in Wild
-Decision
Descriptions
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.
Un problema en el paquete IP NPM v.1.1.8 y anteriores permite a un atacante ejecutar código arbitrario y obtener información confidencial a través de la función isPublic().
A vulnerability was found in the NPM IP Package. This flaw allows an attacker to perform arbitrary code execution and obtain sensitive information via the isPublic() function by inducing a Server-Side Request Forgery (SSRF) attack and obtaining access to normally inaccessible resources.
Emre Durmaz discovered that NPM IP package incorrectly distinguished between private and public IP addresses. A remote attacker could possibly use this issue to perform Server-Side Request Forgery attacks.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2023-09-08 CVE Reserved
- 2024-02-08 CVE Published
- 2024-08-02 CVE Updated
- 2024-08-02 First Exploit
- 2025-02-14 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-918: Server-Side Request Forgery (SSRF)
CAPEC
References (7)
URL | Tag | Source |
---|---|---|
https://security.netapp.com/advisory/ntap-20240315-0008 | Third Party Advisory |
|
https://www.bleepingcomputer.com/news/security/dev-rejects-cve-severity-makes-his-github-repo-read-only |
URL | Date | SRC |
---|---|---|
https://cosmosofcyberspace.github.io/npm_ip_cve/npm_ip_cve.html | 2024-08-02 | |
https://huntr.com/bounties/bfc3b23f-ddc0-4ee7-afab-223b07115ed3 | 2024-08-02 |
URL | Date | SRC |
---|---|---|
https://github.com/indutny/node-ip/commit/6a3ada9b471b09d5f0f5be264911ab564bf67894 | 2024-07-03 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2023-42282 | 2024-06-17 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2265161 | 2024-06-17 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Fedorindutny Search vendor "Fedorindutny" | Ip Search vendor "Fedorindutny" for product "Ip" | <= 1.1.8 Search vendor "Fedorindutny" for product "Ip" and version " <= 1.1.8" | node.js |
Affected
| ||||||
Fedorindutny Search vendor "Fedorindutny" | Ip Search vendor "Fedorindutny" for product "Ip" | 2.0.0 Search vendor "Fedorindutny" for product "Ip" and version "2.0.0" | node.js |
Affected
|