UBUNTU-CVE-2024-52798

Source
https://ubuntu.com/security/CVE-2024-52798
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-52798.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-52798
Upstream
Published
2024-12-05T23:15:00Z
Modified
2025-07-11T05:47:33.306638Z
Severity
  • 7.7 (High) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
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. The regular expression that is vulnerable to backtracking can be generated in the 0.1.x release of path-to-regexp. Upgrade to 0.1.12. This vulnerability exists because of an incomplete fix for CVE-2024-45296.

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@1.0.1-1?arch=source&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

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

Package

Name
node-path-to-regexp
Purl
pkg:deb/ubuntu/node-path-to-regexp@1.0.1-1?arch=source&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

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

Package

Name
node-path-to-regexp
Purl
pkg:deb/ubuntu/node-path-to-regexp@6.1.0-2?arch=source&distro=esm-apps/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

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

Package

Name
node-path-to-regexp
Purl
pkg:deb/ubuntu/node-path-to-regexp@6.2.0-2?arch=source&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

Ubuntu:24.10 / node-path-to-regexp

Package

Name
node-path-to-regexp
Purl
pkg:deb/ubuntu/node-path-to-regexp@6.2.1-1?arch=source&distro=oracular

Affected ranges

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

Affected versions

6.*

6.2.1-1

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

Package

Name
node-path-to-regexp
Purl
pkg:deb/ubuntu/node-path-to-regexp@6.2.1-1?arch=source&distro=noble

Affected ranges

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

Affected versions

6.*

6.2.1-1

Ubuntu:25.04 / node-express

Package

Name
node-express
Purl
pkg:deb/ubuntu/node-express@4.21.0+~cs8.36.26-2?arch=source&distro=plucky

Affected ranges

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

Affected versions

4.*

4.19.2+~cs8.36.26-1
4.21.0+~cs8.36.26-2

Ubuntu:25.04 / node-path-to-regexp

Package

Name
node-path-to-regexp
Purl
pkg:deb/ubuntu/node-path-to-regexp@6.3.0-1?arch=source&distro=plucky

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