CVE-2024-45296

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2024-45296
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45296.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-45296
Aliases
Related
Published
2024-09-09T19:15:13Z
Modified
2024-09-18T03:26:39.919389Z
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / node-path-to-regexp

Package

Name
node-path-to-regexp
Purl
pkg:deb/debian/node-path-to-regexp?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.2.0-1
6.2.0-2
6.2.0-3
6.2.1-1
6.3.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / node-path-to-regexp

Package

Name
node-path-to-regexp
Purl
pkg:deb/debian/node-path-to-regexp?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.2.1-1
6.3.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / node-path-to-regexp

Package

Name
node-path-to-regexp
Purl
pkg:deb/debian/node-path-to-regexp?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.3.0-1

Affected versions

6.*

6.2.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/pillarjs/path-to-regexp

Affected ranges

Type
GIT
Repo
https://github.com/pillarjs/path-to-regexp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.0.2
0.1.0

v0.*

v0.1.1
v0.1.2
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.2.5

v1.*

v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.1.0
v1.1.1
v1.2.0
v1.2.1
v1.3.0
v1.4.0
v1.5.0
v1.5.1
v1.5.2
v1.5.3
v1.6.0
v1.7.0

v2.*

v2.0.0
v2.1.0
v2.2.0
v2.2.1
v2.3.0
v2.4.0

v3.*

v3.0.0
v3.1.0
v3.2.0

v4.*

v4.0.0
v4.0.1
v4.0.2
v4.0.3
v4.0.4
v4.0.5

v5.*

v5.0.0

v6.*

v6.0.0
v6.1.0
v6.2.0
v6.2.1
v6.2.2

v7.*

v7.0.0
v7.1.0