CVE-2023-42282
nodejs-ip: arbitrary code execution via the isPublic() function
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD, Azure Linux, CBL-Mariner. Daha düşük diyenler: Red Hat (yüksek), Ubuntu (orta), GHSA (düşük).
Açıklama
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.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| Azure Linux 3.0 | nodejs | 0:20.14.0-1.azl3 |
| CBL-Mariner 2.0 | nodejs, nodejs18, reaper | 0:16.20.2-3.cm2 ve 2 tane daha |
| chainguard | lerna, node-gyp, npm ve 2 tane daha | 8.1.2-r1 ve 4 tane daha |
| debian 10 | node-ip | düzeltme belirtilmemiş |
| debian 11 | node-ip | düzeltme belirtilmemiş |
| debian 12 | node-ip | düzeltme belirtilmemiş |
| debian 13 | node-ip | 2.0.1+~1.1.3-1 |
| debian 14 | node-ip | 2.0.1+~1.1.3-1 |
| echo | node-ip | 2.0.1+~1.1.3-1 |
| npm::GitHub Security Advisory npm | ip | 2.0.1, 1.1.9 |
| rapidfort debian 12 | node-ip | 0:2.0.1+~1.1.3-1 |
| rapidfort debian 13 | node-ip | 0:2.0.1+~1.1.3-1 |
26 kaynaktaki 39 kaydın hepsini göster
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| Azure Linux 3.0 | nodejs | 0:20.14.0-1.azl3 |
| CBL-Mariner 2.0 | nodejs | 0:16.20.2-3.cm2 |
| CBL-Mariner 2.0 | nodejs18 | 0:18.18.2-4.cm2 |
| CBL-Mariner 2.0 | reaper | 0:3.1.1-10.cm2 |
| chainguard | lerna | 8.1.2-r1 |
| chainguard | node-gyp | 10.1.0-r0 |
| chainguard | npm | 10.4.0-r1 |
| chainguard | renovate | 37.186.1-r0 |
| chainguard | sqlpad | 7.4.1-r1 |
| debian 10 | node-ip | düzeltme belirtilmemiş |
| debian 11 | node-ip | düzeltme belirtilmemiş |
| debian 12 | node-ip | düzeltme belirtilmemiş |
| debian 13 | node-ip | 2.0.1+~1.1.3-1 |
| debian 14 | node-ip | 2.0.1+~1.1.3-1 |
| echo | node-ip | 2.0.1+~1.1.3-1 |
| npm::GitHub Security Advisory npm | ip | 2.0.1, 1.1.9 |
| rapidfort debian 12 | node-ip | 0:2.0.1+~1.1.3-1 |
| rapidfort debian 13 | node-ip | 0:2.0.1+~1.1.3-1 |
| rapidfort ubuntu 20.04 | node-ip | 0:2.0.0+~1.1.0-1ubuntu0.1 |
| rapidfort ubuntu 20.04 | rf-node-ip | 0:2.0.0+~1.1.0-1ubuntu0.1 |
| rapidfort ubuntu 22.04 | node-ip | 0:2.0.0+~1.1.0-1ubuntu0.1 |
| rapidfort ubuntu 22.04 | rf-node-ip | 0:2.0.0+~1.1.0-1ubuntu0.1 |
| rapidfort ubuntu 24.04 | node-ip | 0:2.0.0+~1.1.0-1ubuntu0.1 |
| rapidfort ubuntu 24.04 | rf-node-ip | 0:2.0.0+~1.1.0-1ubuntu0.1 |
| ubuntu 18.04-ESM | node-ip | 1.1.5-1ubuntu0.1~esm1 |
| ubuntu 20.04-ESM | node-ip | 1.1.5-5ubuntu0.1~esm1 |
| ubuntu 22.04 | node-ip | düzeltme belirtilmemiş |
| ubuntu 23.10 | node-ip | 2.0.0+~1.1.0-1ubuntu0.1 |
| ubuntu 24.04 | node-ip | 2.0.0+~1.1.0-1ubuntu1 |
| ubuntu 24.10 | node-ip | 2.0.0+~1.1.0-1ubuntu1 |
| ubuntu 25.04 | node-ip | 2.0.0+~1.1.0-1ubuntu1 |
| ubuntu 25.10 | node-ip | 2.0.0+~1.1.0-1ubuntu1 |
| ubuntu 26.04 | node-ip | 2.0.0+~1.1.0-1ubuntu1 |
| ubuntu 26.10 | node-ip | 2.0.0+~1.1.0-1ubuntu1 |
| wolfi | lerna | 8.1.2-r1 |
| wolfi | node-gyp | 10.1.0-r0 |
| wolfi | npm | 10.4.0-r1 |
| wolfi | renovate | 37.186.1-r0 |
| wolfi | sqlpad | 7.4.1-r1 |
Referanslar
- https://access.redhat.com/security/cve/CVE-2023-42282
- https://cosmosofcyberspace.github.io/npm_ip_cve/npm_ip_cve.html
- https://github.com/JoshGlazebrook/socks/issues/93#issue-2128357447
- https://github.com/github/advisory-database/pull/3504#issuecomment-1937179999
- https://github.com/indutny/node-ip
- https://github.com/indutny/node-ip/commit/32f468f1245574785ec080705737a579be1223aa
- https://github.com/indutny/node-ip/commit/6a3ada9b471b09d5f0f5be264911ab564bf67894
- https://github.com/indutny/node-ip/pull/138
14 referansın hepsi
- https://huntr.com/bounties/bfc3b23f-ddc0-4ee7-afab-223b07115ed3/
- https://nvd.nist.gov/vuln/detail/CVE-2023-42282
- https://security.netapp.com/advisory/ntap-20240315-0008/
- https://ubuntu.com/security/notices/USN-6643-1
- https://www.bleepingcomputer.com/news/security/dev-rejects-cve-severity-makes-his-github-repo-read-only/
- https://www.cve.org/CVERecord?id=CVE-2023-42282