{"id":"CVE-2024-45296","aliases":["AZL-49085","AZL-49103","AZL-49117","AZL-49158","AZL-49161","CLSA-2026-1773360981","CLSA-2026-1783731816","CLSA-2026-1791833994","CLSA-2026-1791843328","CLSA-2026-1792473274","DEBIAN-CVE-2024-45296","EUVD-2024-2764","GHSA-9wv6-86v2-598j","RHSA-2024:10762","ROOT-APP-NPM-CVE-2024-45296","UBUNTU-CVE-2024-45296","USN-8290-1","openSUSE-SU-2024:14374-1","openSUSE-SU-2025:14663-1"],"status":"published","title":"path-to-regexp outputs backtracking regular expressions","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00932,"percentile":0.61127,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333"],"published":"2024-09-09T19:07:40Z","modified":"2026-11-11T02:46:09Z","fixes":[{"ecosystem":"npm","package":"path-to-regexp","fixed_in":["0.1.10","1.9.0","3.3.0","8.0.0","6.3.0"],"sources":["ghsa"]},{"ecosystem":"Azure Linux:2","package":"reaper","fixed_in":["3.1.1-13"],"sources":["osv"]},{"ecosystem":"TuxCare:npm","package":"path-to-regexp","fixed_in":["6.2.1-tuxcare.1","0.1.10-tuxcare.2","6.1.0-tuxcare.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-path-to-regexp","fixed_in":["6.3.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-path-to-regexp","fixed_in":["6.3.0-1"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"path-to-regexp","fixed_in":["1.8.0-aikido.2","0.1.7-aikido.3","3.2.0-aikido.2","2.4.0-aikido.2","0.1.10-aikido.2","0.1.10-aikido.1","0.1.10-aikido.3"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"@rootio/path-to-regexp","fixed_in":["1.8.0-root.io.1","0.1.7-root.io.1","0.1.7-root.io.2","1.8.0-root.io.2","0.1.7-root.io.3","3.2.0-root.io.1","3.2.0-root.io.2","2.4.0-root.io.2","0.1.10-root.io.2","0.1.10-root.io.1","0.1.10-root.io.3"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-path-to-regexp","fixed_in":["1.0.1-1ubuntu0.16.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"node-path-to-regexp","fixed_in":["1.0.1-1ubuntu0.18.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"node-path-to-regexp","fixed_in":["6.1.0-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"node-path-to-regexp","fixed_in":["6.2.0-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"node-path-to-regexp","fixed_in":["6.2.1-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"argocd-cli","fixed_in":["2.12.4-1.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.10"}]}]},{"source":"ghsa","ecosystem":"npm","package":"path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.0"},{"fixed":"1.9.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"3.3.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"8.0.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"6.3.0"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"nodejs-nodemon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.0.3-4"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"js-jquery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.5.0-4"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"reaper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1-13"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"js-jquery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.5.0-4"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"nodejs-nodemon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.0.3-5"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.3-tuxcare.0"},{"fixed":"0.1.3-tuxcare.1"}]}],"versions":["0.1.3"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.1-tuxcare.0"},{"fixed":"6.2.1-tuxcare.1"}]}],"versions":["6.2.1"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.10-tuxcare.0"},{"fixed":"0.1.10-tuxcare.2"}]}],"versions":["0.1.10","0.1.10-tuxcare.1"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.7-tuxcare.0"},{"fixed":"0.1.7-tuxcare.1"}]}],"versions":["0.1.7"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0-tuxcare.0"},{"fixed":"6.1.0-tuxcare.1"}]}],"versions":["6.1.0"]},{"source":"osv","ecosystem":"Debian:12","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.1-1","6.3.0-1","8.3.0-1","8.4.0-1","8.4.1-1","8.4.2-1"]},{"source":"osv","ecosystem":"Debian:13","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.0-1"}]}]},{"source":"osv","ecosystem":"npm","package":"path-to-regexp","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.13"}]}],"bundled":2},{"source":"osv","ecosystem":"npm","package":"path-to-regexp","ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.0"},{"fixed":"1.9.0"}]}],"bundled":2},{"source":"osv","ecosystem":"npm","package":"path-to-regexp","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.10"}]}],"bundled":2},{"source":"osv","ecosystem":"npm","package":"path-to-regexp","ranges":[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"8.0.0"}]}],"bundled":2},{"source":"osv","ecosystem":"npm","package":"path-to-regexp","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"3.3.0"}]}],"bundled":2},{"source":"osv","ecosystem":"npm","package":"path-to-regexp","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"6.3.0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:ansible_automation_platform_developer:2.4::el8","package":"ansible-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.15.13-1.el8ap"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:ansible_automation_platform_inside:2.4::el8","package":"ansible-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.15.13-1.el8ap"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:ansible_automation_platform:2.4::el8","package":"ansible-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.15.13-1.el8ap"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:ansible_automation_platform_developer:2.4::el9","package":"ansible-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.15.13-1.el9ap"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:ansible_automation_platform_inside:2.4::el9","package":"ansible-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.15.13-1.el9ap"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:ansible_automation_platform:2.4::el9","package":"ansible-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.15.13-1.el9ap"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:ansible_automation_platform:2.4::el8","package":"automation-controller-venv-tower","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.5.13-1.el8ap"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:ansible_automation_platform:2.4::el9","package":"automation-controller-venv-tower","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.5.13-1.el9ap"}]}],"bundled":4},{"source":"osv","ecosystem":"Root:npm","package":"path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0-aikido.2"},{"fixed":"0.1.7-aikido.3"},{"fixed":"3.2.0-aikido.2"},{"fixed":"2.4.0-aikido.2"},{"fixed":"0.1.10-aikido.2"},{"fixed":"0.1.10-aikido.1"},{"fixed":"0.1.10-aikido.3"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0-root.io.1"},{"fixed":"0.1.7-root.io.1"},{"fixed":"0.1.7-root.io.2"},{"fixed":"1.8.0-root.io.2"},{"fixed":"0.1.7-root.io.3"},{"fixed":"3.2.0-root.io.1"},{"fixed":"3.2.0-root.io.2"},{"fixed":"2.4.0-root.io.2"},{"fixed":"0.1.10-root.io.2"},{"fixed":"0.1.10-root.io.1"},{"fixed":"0.1.10-root.io.3"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-1ubuntu0.16.04.1~esm1"}]}],"versions":["1.0.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-1ubuntu0.18.04.1~esm1"}]}],"versions":["1.0.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.0-2ubuntu0.1~esm1"}]}],"versions":["3.0.0-2","3.1.0-1","6.1.0-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.0-2ubuntu0.1~esm1"}]}],"versions":["6.2.0-1","6.2.0-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.1-1ubuntu0.1~esm1"}]}],"versions":["6.2.1-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"node-express","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.21.0+~cs8.36.26-2","4.21.2+~cs8.36.27-1","4.21.2+~cs8.36.27-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"node-express","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.0+~cs12.3.3-1build1","5.2.1+~cs12.3.9-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"node-express","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.21.2+~cs8.36.27-2","4.21.2+~cs8.36.27-3","5.1.0+~cs12.3.3-1build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-1ubuntu0.16.04.1~esm1"}]}],"versions":["1.0.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-1ubuntu0.18.04.1~esm1"}]}],"versions":["1.0.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.0-2ubuntu0.1~esm1"}]}],"versions":["3.0.0-2","3.1.0-1","6.1.0-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.0-2ubuntu0.1~esm1"}]}],"versions":["6.2.0-1","6.2.0-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"node-path-to-regexp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.1-1ubuntu0.1~esm1"}]}],"versions":["6.2.1-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"argocd-cli","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.12.4-1.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"velociraptor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0.4.git142.862ef23-1.1"}]}],"bundled":27}],"products":[{"vendor":"path-to-regexp","product":"path-to-regexp"},{"vendor":"pillarjs","product":"path-to-regexp"}],"references":[{"url":"https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-9wv6-86v2-598j","tags":["x_refsource_CONFIRM","advisory","web","article","report"]},{"url":"https://github.com/pillarjs/path-to-regexp/commit/29b96b4a1de52824e1ca0f49a701183cc4ed476f","tags":["x_refsource_MISC","fix","web","article","report"]},{"url":"https://github.com/pillarjs/path-to-regexp/commit/60f2121e9b66b7b622cc01080df0aabda9eedee6","tags":["x_refsource_MISC","fix","web","article","report"]},{"url":"https://security.netapp.com/advisory/ntap-20250124-0001/","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45296","tags":["web","advisory"]},{"url":"https://github.com/pillarjs/path-to-regexp/commit/925ac8e3c5780b02f58cbd4e52f95da8ad2ac485","tags":["web"]},{"url":"https://github.com/pillarjs/path-to-regexp/commit/d31670ae8f6e69cbfd56e835742195b7d10942ef","tags":["web"]},{"url":"https://github.com/pillarjs/path-to-regexp/commit/f1253b47b347dcb909e3e80b0eb2649109e59894","tags":["web"]},{"url":"https://github.com/pillarjs/path-to-regexp/releases/tag/v6.3.0","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20250124-0001","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9wv6-86v2-598j","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45296.json","tags":["advisory"]},{"url":"https://blakeembrey.com/posts/2024-09-web-redos","tags":["web"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4867.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4867","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-45296","tags":["advisory"]},{"url":"https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-37ch-88jc-xwx2","tags":["web"]},{"url":"https://github.com/pillarjs/path-to-regexp","tags":["package"]},{"url":"https://github.com/pillarjs/path-to-regexp/releases/tag/v.0.1.13","tags":["web"]},{"url":"https://access.redhat.com/errata/RHSA-2024:10762","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2310908","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2312119","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2312631","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2318271","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_10762.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-8775","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-8775","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8775","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jpxc-vmjf-9fcj","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-9902","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-9902","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9902","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-45296","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-45296","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-45801","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-45801","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45801","tags":["advisory"]},{"url":"https://github.com/cure53/DOMPurify/commit/1e520262bf4c66b5efda49e2316d6d1246ca7b21","tags":["article"]},{"url":"https://github.com/cure53/DOMPurify/commit/26e1d69ca7f769f5c558619d644d90dd8bf26ebc","tags":["article"]},{"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674","tags":["article"]},{"url":"https://ubuntu.com/security/CVE-2024-45296","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8290-1","tags":["advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/7JSRC6ZWZIIPAM4FJIJWA4SBNCA3WNNU/","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-45296","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/IL7QOYRPFRGRS6UKU6ZYHI76FWFFUJNK/","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2023-1732","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-44270","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-45133","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-45683","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-46234","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-21538","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-23331","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-24786","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-28180","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-31207","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-37298","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-4067","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-4068","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-42459","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-42460","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-42461","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-45338","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-45811","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-45812","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-47068","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-47875","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-48948","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-48949","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-51744","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-55565","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-6104","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2024-45296","title":"path-to-regexp outputs backtracking regular expressions","description":"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.","status":"published","published":"2024-09-09T19:07:40.313Z","modified":"2025-01-24T20:03:07.723Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:34:08.500935Z"}],"euvd":[{"id":"EUVD-2024-2764","description":"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.","status":"published","published":"2024-09-09T19:07:40Z","modified":"2025-01-24T20:03:07Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T00:04:13.589007Z"}],"ghsa":[{"id":"GHSA-9wv6-86v2-598j","title":"path-to-regexp outputs backtracking regular expressions","description":"### Impact\n\nA bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (`.`). For example, `/:a-:b`.\n\n### Patches\n\nFor users of 0.1, upgrade to `0.1.10`. All other users should upgrade to `8.0.0`.\n\nThese versions add backtrack protection when a custom regex pattern is not provided:\n\n- [0.1.10](https://github.com/pillarjs/path-to-regexp/releases/tag/v0.1.10)\n- [1.9.0](https://github.com/pillarjs/path-to-regexp/releases/tag/v1.9.0)\n- [3.3.0](https://github.com/pillarjs/path-to-regexp/releases/tag/v3.3.0)\n- [6.3.0](https://github.com/pillarjs/path-to-regexp/releases/tag/v6.3.0)\n\nThey do not protect against vulnerable user supplied capture groups. Protecting against explicit user patterns is out of scope for old versions and not considered a vulnerability.\n\nVersion [7.1.0](https://github.com/pillarjs/path-to-regexp/releases/tag/v7.1.0) can enable `strict: true` and get an error when the regular expression might be bad.\n\nVersion [8.0.0](https://github.com/pillarjs/path-to-regexp/releases/tag/v8.0.0) removes the features that can cause a ReDoS.\n\n### Workarounds\n\nAll versions can be patched by providing a custom regular expression for parameters after the first in a single segment. As long as the custom regular expression does not match the text before the parameter, you will be safe. For example, change `/:a-:b` to `/:a-:b([^-/]+)`.\n\nIf paths cannot be rewritten and versions cannot be upgraded, another alternative is to limit the URL length. For example, halving the attack string improves performance by 4x faster.\n\n### Details\n\nUsing `/:a-:b` will produce the regular expression `/^\\/([^\\/]+?)-([^\\/]+?)\\/?$/`. This can be exploited by a path such as `/a${'-a'.repeat(8_000)}/a`. [OWASP](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS) has a good example of why this occurs, but the TL;DR is the `/a` at the end ensures this route would never match but due to naive backtracking it will still attempt every combination of the `:a-:b` on the repeated 8,000 `-a`.\n\nBecause JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and can lead to a DoS. In local benchmarks, exploiting the unsafe regex will result in performance that is over 1000x worse than the safe regex. In a more realistic environment using Express v4 and 10 concurrent connections, this translated to average latency of ~600ms vs 1ms.\n\n### References\n\n* [OWASP](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS)\n* [Detailed blog post](https://blakeembrey.com/posts/2024-09-web-redos/)","status":"published","published":"2024-09-09T20:19:15Z","modified":"2025-01-24T21:32:30Z","cvss":[{"version":"4.0","score":7.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:38:28.945236Z"}],"nvd":[{"id":"CVE-2024-45296","description":"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.","status":"published","published":"2024-09-09T19:15:13.33Z","modified":"2026-06-17T07:53:58.263Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:10:25.561537Z"}],"osv":[{"id":"CVE-2024-45296","title":"path-to-regexp outputs backtracking regular expressions","description":"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.","status":"published","published":"2024-09-09T19:07:40.313Z","modified":"2026-11-11T10:47:18.482135209Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-11T02:50:43.46164Z"},{"id":"CVE-2026-4867","title":"path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters","description":"Impact:\n\nA bad regular expression is generated any time you have three or more parameters within a single segment, separated by something that is not a period (.). For example, /:a-:b-:c or /:a-:b-:c-:d. The backtrack protection added in path-to-regexp@0.1.12 only prevents ambiguity for two parameters. With three or more, the generated lookahead does not block single separator characters, so capture groups overlap and cause catastrophic backtracking.\n\nPatches:\n\nUpgrade to path-to-regexp@0.1.13\n\nCustom regex patterns in route definitions (e.g., /:a-:b([^-/]+)-:c([^-/]+)) are not affected because they override the default capture group.\n\nWorkarounds:\n\nAll versions can be patched by providing a custom regular expression for parameters after the first in a single segment. As long as the custom regular expression does not match the text before the parameter, you will be safe. For example, change /:a-:b-:c to /:a-:b([^-/]+)-:c([^-/]+).\n\nIf paths cannot be rewritten and versions cannot be upgraded, another alternative is to limit the URL length.","status":"published","published":"2026-03-26T16:16:25.501Z","modified":"2026-10-28T02:30:52.349197254Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:45:06.701612Z"},{"id":"DEBIAN-CVE-2024-45296","description":"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.","status":"published","published":"2024-09-09T19:15:13.33Z","modified":"2026-11-02T12:03:01.423189575Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:43.473331Z"},{"id":"GHSA-37ch-88jc-xwx2","title":"path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters","description":"### Impact\n\nA bad regular expression is generated any time you have three or more parameters within a single segment, separated by something that is not a period (`.`). For example, `/:a-:b-:c` or `/:a-:b-:c-:d`. The backtrack protection added in `path-to-regexp@0.1.12` only prevents ambiguity for two parameters. With three or more, the generated lookahead does not block single separator characters, so capture groups overlap and cause catastrophic backtracking.\n\n### Patches\n\nUpgrade to [path-to-regexp@0.1.13](https://github.com/pillarjs/path-to-regexp/releases/tag/v.0.1.13)\n\nCustom regex patterns in route definitions (e.g., `/:a-:b([^-/]+)-:c([^-/]+)`) are not affected because they override the default capture group.\n\n### Workarounds\n\nAll versions can be patched by providing a custom regular expression for parameters after the first in a single segment. As long as the custom regular expression does not match the text before the parameter, you will be safe. For example, change `/:a-:b-:c` to `/:a-:b([^-/]+)-:c([^-/]+)`.\n\nIf paths cannot be rewritten and versions cannot be upgraded, another alternative is to limit the URL length.\n\n### References\n\n- [GHSA-9wv6-86v2-598j](https://github.com/advisories/GHSA-9wv6-86v2-598j)\n- [Detailed blog post: ReDoS the web](https://blakeembrey.com/posts/2024-09-web-redos/)","status":"published","published":"2026-03-27T20:04:53Z","modified":"2026-09-10T03:50:36.768786245Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:46:35.406455Z"},{"id":"GHSA-9wv6-86v2-598j","title":"path-to-regexp outputs backtracking regular expressions","description":"### Impact\n\nA bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (`.`). For example, `/:a-:b`.\n\n### Patches\n\nFor users of 0.1, upgrade to `0.1.10`. All other users should upgrade to `8.0.0`.\n\nThese versions add backtrack protection when a custom regex pattern is not provided:\n\n- [0.1.10](https://github.com/pillarjs/path-to-regexp/releases/tag/v0.1.10)\n- [1.9.0](https://github.com/pillarjs/path-to-regexp/releases/tag/v1.9.0)\n- [3.3.0](https://github.com/pillarjs/path-to-regexp/releases/tag/v3.3.0)\n- [6.3.0](https://github.com/pillarjs/path-to-regexp/releases/tag/v6.3.0)\n\nThey do not protect against vulnerable user supplied capture groups. Protecting against explicit user patterns is out of scope for old versions and not considered a vulnerability.\n\nVersion [7.1.0](https://github.com/pillarjs/path-to-regexp/releases/tag/v7.1.0) can enable `strict: true` and get an error when the regular expression might be bad.\n\nVersion [8.0.0](https://github.com/pillarjs/path-to-regexp/releases/tag/v8.0.0) removes the features that can cause a ReDoS.\n\n### Workarounds\n\nAll versions can be patched by providing a custom regular expression for parameters after the first in a single segment. As long as the custom regular expression does not match the text before the parameter, you will be safe. For example, change `/:a-:b` to `/:a-:b([^-/]+)`.\n\nIf paths cannot be rewritten and versions cannot be upgraded, another alternative is to limit the URL length. For example, halving the attack string improves performance by 4x faster.\n\n### Details\n\nUsing `/:a-:b` will produce the regular expression `/^\\/([^\\/]+?)-([^\\/]+?)\\/?$/`. This can be exploited by a path such as `/a${'-a'.repeat(8_000)}/a`. [OWASP](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS) has a good example of why this occurs, but the TL;DR is the `/a` at the end ensures this route would never match but due to naive backtracking it will still attempt every combination of the `:a-:b` on the repeated 8,000 `-a`.\n\nBecause JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and can lead to a DoS. In local benchmarks, exploiting the unsafe regex will result in performance that is over 1000x worse than the safe regex. In a more realistic environment using Express v4 and 10 concurrent connections, this translated to average latency of ~600ms vs 1ms.\n\n### References\n\n* [OWASP](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS)\n* [Detailed blog post](https://blakeembrey.com/posts/2024-09-web-redos/)","status":"published","published":"2024-09-09T20:19:15Z","modified":"2026-09-10T03:50:18.832560863Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"4.0","score":7.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:46:44.225359Z"},{"id":"RHSA-2024:10762","title":"Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update","status":"published","published":"2024-12-04T10:02:18Z","modified":"2026-10-16T10:03:48Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L","level":"high"}],"updated_at":"2026-11-02T15:53:12.787505Z"},{"id":"UBUNTU-CVE-2024-45296","description":"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.","status":"published","published":"2024-09-09T19:15:00Z","modified":"2026-10-17T12:56:39.487397179Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:02.636559Z"},{"id":"AZL-49085","title":"CVE-2024-45296 affecting package nodejs-nodemon 2.0.3-4","description":"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.","status":"published","published":"2024-09-09T19:15:13Z","modified":"2026-04-21T04:29:46.008324Z","updated_at":"2026-11-02T15:28:06.032783Z"},{"id":"AZL-49103","title":"CVE-2024-45296 affecting package js-jquery 3.5.0-4","description":"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.","status":"published","published":"2024-09-09T19:15:13Z","modified":"2026-04-21T04:29:46.034301Z","updated_at":"2026-11-02T15:28:06.032783Z"},{"id":"AZL-49117","title":"CVE-2024-45296 affecting package reaper for versions less than 3.1.1-13","description":"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.","status":"published","published":"2024-09-09T19:15:13Z","modified":"2026-04-21T04:29:47.244647Z","updated_at":"2026-11-02T15:28:06.032783Z"},{"id":"AZL-49158","title":"CVE-2024-45296 affecting package js-jquery 3.5.0-4","description":"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.","status":"published","published":"2024-09-09T19:15:13Z","modified":"2026-11-05T05:36:30Z","updated_at":"2026-11-05T16:41:20.514083Z"},{"id":"AZL-49161","title":"CVE-2024-45296 affecting package nodejs-nodemon 2.0.3-5","description":"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.","status":"published","published":"2024-09-09T19:15:13Z","modified":"2026-11-05T05:36:30Z","updated_at":"2026-11-05T16:41:20.514083Z"},{"id":"CLSA-2026-1773360981","title":"TuxCare security update for path-to-regexp (2 CVEs)","description":"TuxCare rebuilt path-to-regexp to address 2 CVEs. Fixed in 0.1.3-tuxcare.1.","status":"published","published":"2026-08-04T14:52:12Z","modified":"2026-10-15T09:47:28.561127248Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1783731816","title":"TuxCare security update for path-to-regexp (1 CVE)","description":"TuxCare rebuilt path-to-regexp to address 1 CVE. Fixed in 6.2.1-tuxcare.1.","status":"published","published":"2026-08-04T14:52:43Z","modified":"2026-10-15T09:48:03.711795876Z","updated_at":"2026-11-02T15:43:46.151924Z"},{"id":"CLSA-2026-1791833994","title":"TuxCare security update for path-to-regexp (1 CVE)","description":"TuxCare rebuilt path-to-regexp to address 1 CVE. Fixed in 0.1.10-tuxcare.2.","status":"published","published":"2026-10-12T19:39:54Z","modified":"2026-10-15T09:47:21.1768733Z","updated_at":"2026-11-02T15:43:50.599064Z"},{"id":"CLSA-2026-1791843328","title":"TuxCare security update for path-to-regexp (2 CVEs)","description":"TuxCare rebuilt path-to-regexp to address 2 CVEs. Fixed in 0.1.7-tuxcare.1.","status":"published","published":"2026-10-12T22:15:28Z","modified":"2026-10-15T09:47:53.545962558Z","updated_at":"2026-11-02T15:43:50.599064Z"},{"id":"CLSA-2026-1792473274","title":"TuxCare security update for path-to-regexp (1 CVE)","description":"TuxCare rebuilt path-to-regexp to address 1 CVE. Fixed in 6.1.0-tuxcare.1.","status":"published","published":"2026-10-20T05:14:34Z","modified":"2026-10-20T07:15:15.577964166Z","updated_at":"2026-11-02T15:43:54.378946Z"},{"id":"openSUSE-SU-2024:14374-1","title":"argocd-cli-2.12.4-1.1 on GA media","description":"These are all security issues fixed in the argocd-cli-2.12.4-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-09-29T00:00:00Z","modified":"2026-02-04T02:47:08.478398Z","updated_at":"2026-11-02T16:58:36.976155Z"},{"id":"openSUSE-SU-2025:14663-1","title":"velociraptor-0.7.0.4.git142.862ef23-1.1 on GA media","description":"These are all security issues fixed in the velociraptor-0.7.0.4.git142.862ef23-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-01-17T00:00:00Z","modified":"2026-02-04T03:47:20.18775Z","updated_at":"2026-11-02T16:58:36.976155Z"},{"id":"ROOT-APP-NPM-CVE-2024-45296","title":"CVE-2024-45296 in path-to-regexp - Patched by Root","description":"Root has patched CVE-2024-45296 in the path-to-regexp package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-08-04T15:05:55Z","modified":"2026-08-09T10:15:15.211693321Z","updated_at":"2026-11-02T15:53:27.362922Z"},{"id":"USN-8290-1","title":"node-path-to-regexp vulnerability","description":"It was discovered that Path-to-Regexp incorrectly handled route patterns\ncontaining multiple named parameters separated by non-delimiter characters\nsuch as hyphens. An attacker could possibly use this issue to cause a denial\nof service via catastrophic backtracking in the generated regular expressions.","status":"published","published":"2026-05-21T11:27:17Z","modified":"2026-05-21T18:18:16.058022115Z","updated_at":"2026-11-02T16:58:22.951676Z"}]}}
