Vulnerability
CVE-2024-45296
path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. Because JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and lead to a DoS. The bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (.). For users of 0.1, upgrade to 0.1.10. All other users should upgrade to 8.0.0.
120 advisories report this vulnerability, across 8 ecosystems.
Advisories
-
AZL-49085
CVE-2024-45296 affecting package nodejs-nodemon 2.0.3-4
-
AZL-49103
CVE-2024-45296 affecting package js-jquery 3.5.0-4
-
AZL-49117
CVE-2024-45296 affecting package reaper for versions less than 3.1.1-13
-
AZL-49158
CVE-2024-45296 affecting package js-jquery 3.5.0-4
-
AZL-49161
CVE-2024-45296 affecting package nodejs-nodemon 2.0.3-5
- CGA-2cqv-whw2-jvv4
- CGA-2f9x-rpmw-mr92
- CGA-2gf3-6w7v-v7f2
- CGA-2jrm-rj88-c4c6
- CGA-2qmp-cg99-6h3w
- CGA-2whj-r4xx-56v2
- CGA-345f-r5h6-f3cm
- CGA-37h9-jqw8-8mf3
- CGA-3qwj-6hpj-9xfg
- CGA-3v4g-w34m-m6c4
- CGA-3wrc-m94m-hgfw
- CGA-4657-jmq3-3qxv
- CGA-4792-j2xf-xc9g
- CGA-4gvp-85gv-mfc6
- CGA-4hv3-pmmw-cw42
- CGA-4px9-4274-wq94
- CGA-4v5q-wxc3-89p7
- CGA-4wj9-4g49-gfwr
- CGA-52qj-gqhc-w497
- CGA-557m-q6vw-x2p4
- CGA-5c46-cg4w-f3x8
- CGA-5f9f-cwmw-7rq2
- CGA-66cg-fxvf-cmp9
- CGA-67v2-9hwp-rpf4
- CGA-6pcf-fcgr-7g7q
- CGA-6qqc-22gp-c8cq
- CGA-6v42-6358-ghwm
- CGA-72m7-7qww-3jwv
- CGA-762w-xgp4-w29x
- CGA-773c-8crv-r2j6
- CGA-86v8-64cf-c4hq
- CGA-883w-pj68-9px6
- CGA-8c74-7845-h4qw
- CGA-8h72-rxq2-8vp9
- CGA-8mpg-r3v3-x793
- CGA-9586-wv4w-5m6w
- CGA-9fjf-8475-9fwx
- CGA-9m7x-qhrp-jxw9
- CGA-9wmh-xxg7-4pg3
- CGA-cph6-p479-6v4w
- CGA-cqv3-rf2p-7vj9
- CGA-f5qg-qcfw-9qfc
- CGA-f7gg-vc34-qqw8
- CGA-fccr-p7hf-vx6c
- CGA-fwv3-5456-26xw
- CGA-g3ww-v29p-8gq5
- CGA-gfw6-mh54-phx9
- CGA-gg2f-gh46-7qrp
- CGA-ggxv-r2pp-325r
- CGA-gw7v-8r66-mm27
- CGA-h97v-v85w-2p73
- CGA-hf2w-86xv-g5mr
- CGA-hf8p-ffwg-78rq
- CGA-hgpc-8hq3-pvmv
- CGA-hj4h-rgp3-7c6j
- CGA-hpxg-pqh7-27xh
- CGA-hr9g-28c7-jhcw
- CGA-hvw5-gffq-9gr5
- CGA-j7gg-j573-pwh4
- CGA-j8xc-xjj5-7rwf
- CGA-j9j3-f28m-pmx4
- CGA-jghh-p79x-xfhj
- CGA-jgxw-8w42-hfgw
- CGA-jh4p-mv9r-8jcm
- CGA-jm3j-pqjq-8q9h
- CGA-jmhj-gq45-2528
- CGA-jrxc-rh47-852w
- CGA-m5gp-c36x-hgw7
- CGA-mc72-545v-gwgh
- CGA-mvv5-6r5m-f4vw
- CGA-mwc5-cfw6-rppg
- CGA-mxfv-8fc4-2g59
- CGA-p2qq-8x6w-f8p5
- CGA-p4fp-8ff6-7c27
- CGA-pjxx-9v73-jx9w
- CGA-q5mf-48f3-3qj6
- CGA-q5x4-m7r2-8q2w
- CGA-q697-rg42-jh59
- CGA-q942-h6wx-c3mv
- CGA-qc92-97c7-fvr6
- CGA-qj85-6qv4-x8f5
- CGA-qmx7-cc45-2w62
- CGA-r239-rvrq-32cg
- CGA-r5hx-c37x-5cw7
- CGA-r946-fw3g-ppgh
- CGA-r983-v6g6-394g
- CGA-rcmx-p2g8-2rvh
- CGA-rf8q-v79m-5hh5
- CGA-rfcq-4pcc-rxqq
- CGA-rj34-vpq3-q8jh
- CGA-rm79-5mwx-48v9
- CGA-vc76-49g8-q6mg
- CGA-vcgq-pwcx-q3r4
- CGA-vg2f-vxf8-xqr6
- CGA-vhvq-9c6r-6fj4
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2024-45296.
References
- https://github.com/pillarjs/path-to-regexp/commit/29b96b4a1de52824e1ca0f49a701183cc4ed476f
- https://github.com/pillarjs/path-to-regexp/commit/60f2121e9b66b7b622cc01080df0aabda9eedee6
- https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-9wv6-86v2-598j
- https://security.netapp.com/advisory/ntap-20250124-0001/