UBUNTU-CVE-2024-45296

Source
https://ubuntu.com/security/CVE-2024-45296
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45296.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-45296
Related
Published
2024-09-09T19:15:00Z
Modified
2024-10-15T14:16:56Z
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

Ubuntu:Pro:16.04:LTS / node-path-to-regexp

Package

Name
node-path-to-regexp
Purl
pkg:deb/ubuntu/node-path-to-regexp?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

1.*

1.0.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / node-path-to-regexp

Package

Name
node-path-to-regexp
Purl
pkg:deb/ubuntu/node-path-to-regexp?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

1.*

1.0.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / node-path-to-regexp

Package

Name
node-path-to-regexp
Purl
pkg:deb/ubuntu/node-path-to-regexp?arch=src?distro=focal

Affected ranges

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

Affected versions

3.*

3.0.0-2
3.1.0-1

6.*

6.1.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / node-path-to-regexp

Package

Name
node-path-to-regexp
Purl
pkg:deb/ubuntu/node-path-to-regexp?arch=src?distro=jammy

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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / node-path-to-regexp

Package

Name
node-path-to-regexp
Purl
pkg:deb/ubuntu/node-path-to-regexp?arch=src?distro=oracular

Affected ranges

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

Affected versions

6.*

6.2.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-path-to-regexp

Package

Name
node-path-to-regexp
Purl
pkg:deb/ubuntu/node-path-to-regexp?arch=src?distro=noble

Affected ranges

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

Affected versions

6.*

6.2.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}