-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Vulnerable Library - express-4.16.4.tgz
Fast, unopinionated, minimalist web framework
Library home page: https://registry.npmjs.org/express/-/express-4.16.4.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Found in HEAD commit: e24e1391d45b6de9cae5737b63bdfcbbc1183d4d
Vulnerabilities
| Vulnerability | Severity | Dependency | Type | Fixed in (express version) | Remediation Possible** | |
|---|---|---|---|---|---|---|
| CVE-2024-52798 | 7.5 | path-to-regexp-0.1.7.tgz | Transitive | N/A* | ❌ | |
| CVE-2024-45296 | 7.5 | path-to-regexp-0.1.7.tgz | Transitive | 4.17.0 | ✅ | |
| CVE-2024-43800 | 5.0 | serve-static-1.13.2.tgz | Transitive | 4.20.0 | ✅ | |
| CVE-2024-43796 | 5.0 | express-4.16.4.tgz | Direct | express - 4.20.0,express - 5.0.0 | ✅ | |
| CVE-2024-10491 | 4.0 | express-4.16.4.tgz | Direct | express - 4.0.0-rc1,express - 4.0.0-rc1 | ✅ |
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-52798
Vulnerable Library - path-to-regexp-0.1.7.tgz
Express style path to RegExp utility
Library home page: https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- express-4.16.4.tgz (Root Library)
- ❌ path-to-regexp-0.1.7.tgz (Vulnerable Library)
Found in HEAD commit: e24e1391d45b6de9cae5737b63bdfcbbc1183d4d
Found in base branch: main
Vulnerability 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.
Publish Date: 2024-12-05
URL: CVE-2024-52798
CVSS 3 Score Details (7.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: GHSA-rhx6-c78j-4q9w
Release Date: 2024-12-05
Fix Resolution: path-to-regexp - 0.1.12
CVE-2024-45296
Vulnerable Library - path-to-regexp-0.1.7.tgz
Express style path to RegExp utility
Library home page: https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- express-4.16.4.tgz (Root Library)
- ❌ path-to-regexp-0.1.7.tgz (Vulnerable Library)
Found in HEAD commit: e24e1391d45b6de9cae5737b63bdfcbbc1183d4d
Found in base branch: main
Vulnerability 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.
Publish Date: 2024-09-09
URL: CVE-2024-45296
CVSS 3 Score Details (7.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: GHSA-9wv6-86v2-598j
Release Date: 2024-09-09
Fix Resolution (path-to-regexp): 0.1.10
Direct dependency fix Resolution (express): 4.17.0
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2024-43800
Vulnerable Library - serve-static-1.13.2.tgz
Serve static files
Library home page: https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- express-4.16.4.tgz (Root Library)
- ❌ serve-static-1.13.2.tgz (Vulnerable Library)
Found in HEAD commit: e24e1391d45b6de9cae5737b63bdfcbbc1183d4d
Found in base branch: main
Vulnerability Details
serve-static serves static files. serve-static passes untrusted user input - even after sanitizing it - to redirect() may execute untrusted code. This issue is patched in serve-static 1.16.0.
Publish Date: 2024-09-10
URL: CVE-2024-43800
CVSS 3 Score Details (5.0)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low
Suggested Fix
Type: Upgrade version
Origin: GHSA-cm22-4g7w-348p
Release Date: 2024-09-10
Fix Resolution (serve-static): 1.16.0
Direct dependency fix Resolution (express): 4.20.0
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2024-43796
Vulnerable Library - express-4.16.4.tgz
Fast, unopinionated, minimalist web framework
Library home page: https://registry.npmjs.org/express/-/express-4.16.4.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- ❌ express-4.16.4.tgz (Vulnerable Library)
Found in HEAD commit: e24e1391d45b6de9cae5737b63bdfcbbc1183d4d
Found in base branch: main
Vulnerability Details
Express.js minimalist web framework for node. In express < 4.20.0, passing untrusted user input - even after sanitizing it - to response.redirect() may execute untrusted code. This issue is patched in express 4.20.0.
Publish Date: 2024-09-10
URL: CVE-2024-43796
CVSS 3 Score Details (5.0)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low
Suggested Fix
Type: Upgrade version
Origin: GHSA-qw6h-vgh9-j6wx
Release Date: 2024-09-10
Fix Resolution: express - 4.20.0,express - 5.0.0
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2024-10491
Vulnerable Library - express-4.16.4.tgz
Fast, unopinionated, minimalist web framework
Library home page: https://registry.npmjs.org/express/-/express-4.16.4.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- ❌ express-4.16.4.tgz (Vulnerable Library)
Found in HEAD commit: e24e1391d45b6de9cae5737b63bdfcbbc1183d4d
Found in base branch: main
Vulnerability Details
A vulnerability has been identified in the Express response.links function, allowing for arbitrary resource injection in the Link header when unsanitized data is used.
The issue arises from improper sanitization in "Link" header values, which can allow a combination of characters like ",", ";", and "<>" to preload malicious resources.
This vulnerability is especially relevant for dynamic parameters.
Publish Date: 2024-10-29
URL: CVE-2024-10491
CVSS 3 Score Details (4.0)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Changed
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: None
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: GHSA-cm5g-3pgc-8rg4
Release Date: 2024-10-29
Fix Resolution: express - 4.0.0-rc1,express - 4.0.0-rc1
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.