Bug 2284554 (CVE-2024-29415)

Summary: CVE-2024-29415 node-ip: Incomplete fix for CVE-2023-42282
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aazores, abarbaro, abrianik, abuckta, akostadi, alcohan, alizardo, amasferr, amctagga, anjoseph, anthomas, asoldano, bbaranow, bbuckingham, bcourt, bdettelb, bmaxwell, brian.stansberry, bstansbe, caswilli, chazlett, cmah, cmiranda, darran.lofthouse, dfreiber, dhanak, dkreling, dkuc, dlofthou, dmayorov, doconnor, dosoudil, drosa, drow, eaguilar, ebaron, ehelms, eric.wittmann, ewittman, fjansen, ggainey, ggrzybek, gkamathe, gmalinko, gparvin, gtanzill, hhorak, hkataria, ibek, istudens, ivassile, iweiss, janstey, jbalunas, jburrell, jcantril, jchui, jhe, jkang, jlledo, jolong, jorton, jpallich, jprabhak, jrokos, jshaughn, jsherril, juwatts, jwendell, kaycoth, kshier, ktsao, kverlaen, lbainbri, lgao, manissin, mhulan, mmakovy, mnovotny, mosmerov, msochure, mstefank, msvehla, mwringe, nbecker, nboldt, nipatil, njean, nmoumoul, nodejs-maint, nwallace, orabin, osousa, owatkins, pahickey, pantinor, parichar, pberan, pcongius, pcreech, pdelbell, pesilva, pjindal, pmackay, psrna, rcernich, rchan, retrobowlgame.college, rguimara, rhaigner, rkubis, rojacob, rstancel, rstepani, rtaniwa, sausingh, sdawley, sfroberg, sidakwo, smaestri, smallamp, tasato, teagle, thjenkin, tjochec, tkral, tmalecek, tom.jenkinson, tsedmik, twalsh, vdosoudi, vkumar, wtam
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in node-ip. The fix for CVE-2023-42282 in the ip package for Node.js was incomplete, and the issue may still be triggered using some IP addresses.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2284588, 2284589, 2284592, 2294513    
Bug Blocks: 2284560    

Description Pedro Sampaio 2024-06-03 13:23:24 UTC
The ip package through 2.0.1 for Node.js might allow SSRF because some IP addresses (such as 127.1, 01200034567, 012.1.2.3, 000:0:0000::01, and ::fFFf:127.0.0.1) are improperly categorized as globally routable via isPublic. NOTE: this issue exists because of an incomplete fix for CVE-2023-42282.

References:

https://github.com/indutny/node-ip/issues/150
https://github.com/indutny/node-ip/pull/143
https://github.com/indutny/node-ip/pull/144

Comment 1 Pedro Sampaio 2024-06-03 13:55:56 UTC
Created golang-github-prometheus tracking bugs for this issue:

Affects: epel-all [bug 2284588]


Created magicmirror tracking bugs for this issue:

Affects: fedora-all [bug 2284589]

Comment 9 Dhananjay Arunesh 2024-06-27 10:51:22 UTC
Created nodejs-ip tracking bugs for this issue:

Affects: epel-7 [bug 2294513]

Comment 10 Elena Gilbert 2024-07-11 09:06:32 UTC
This node-ip bug (CVE-2024-29415) is wreaking havoc on my https://retrobowl.college web game! Just when I thought things were fixed (CVE-2023-42282), this pops up and is causing all sorts of issues.

Comment 12 errata-xmlrpc 2024-11-25 18:24:37 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Dev Spaces 3 Containers

Via RHSA-2024:10236 https://access.redhat.com/errata/RHSA-2024:10236

Comment 21 betrixkarton 2025-11-06 04:10:31 UTC Comment hidden (spam)