-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Vulnerable Library - express-session-1.17.3.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/express-session/node_modules/cookie/package.json
Vulnerabilities
Vulnerability | Severity | Dependency | Type | Fixed in (express-session version) | Remediation Possible** | |
---|---|---|---|---|---|---|
CVE-2024-47764 | 5.3 | cookie-0.4.2.tgz | Transitive | 1.18.1 | ✅ | |
CVE-2025-7339 | 3.4 | on-headers-1.0.2.tgz | Transitive | N/A* | ❌ |
*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-47764
Vulnerable Library - cookie-0.4.2.tgz
HTTP server cookie parsing and serialization
Library home page: https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/express-session/node_modules/cookie/package.json
Dependency Hierarchy:
- express-session-1.17.3.tgz (Root Library)
- ❌ cookie-0.4.2.tgz (Vulnerable Library)
Found in base branch: main
Vulnerability Details
cookie is a basic HTTP cookie parser and serializer for HTTP servers. The cookie name could be used to set other fields of the cookie, resulting in an unexpected cookie value. A similar escape can be used for path and domain, which could be abused to alter other fields of the cookie. Upgrade to 0.7.0, which updates the validation for name, path, and domain.
Publish Date: 2024-10-04
URL: CVE-2024-47764
CVSS 3 Score Details (5.3)
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: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: GHSA-pxg6-pf52-xh8x
Release Date: 2024-10-04
Fix Resolution (cookie): 0.7.0
Direct dependency fix Resolution (express-session): 1.18.1
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2025-7339
Vulnerable Library - on-headers-1.0.2.tgz
Execute a listener when a response is about to write headers
Library home page: https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/on-headers/package.json
Dependency Hierarchy:
- express-session-1.17.3.tgz (Root Library)
- ❌ on-headers-1.0.2.tgz (Vulnerable Library)
Found in base branch: main
Vulnerability Details
on-headers is a node.js middleware for listening to when a response writes headers. A bug in on-headers versions "<1.1.0" may result in response headers being inadvertently modified when an array is passed to "response.writeHead()". Users should upgrade to version 1.1.0 to receive a patch. Uses are strongly encouraged to upgrade to "1.1.0", but this issue can be worked around by passing an object to "response.writeHead()" rather than an array.
Mend Note: The description of this vulnerability differs from MITRE.
Publish Date: 2025-07-17
URL: CVE-2025-7339
CVSS 3 Score Details (3.4)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: High
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: None
⛑️Automatic Remediation will be attempted for this issue.