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.
CVE-2024-10491 - Medium Severity Vulnerability
Vulnerable Library - express-2.5.11.tgz
Sinatra inspired web development framework
Library home page: https://registry.npmjs.org/express/-/express-2.5.11.tgz
Path to dependency file: /tvaultui/package.json
Path to vulnerable library: /tvaultui/node_modules/express/package.json
Dependency Hierarchy: - browser-sync-2.9.12.tgz (Root Library) - browser-sync-ui-0.5.19.tgz - weinre-2.0.0-pre-I0Z7U9OV.tgz - :x: **express-2.5.11.tgz** (Vulnerable Library)
Found in HEAD commit: 0f3cd3fd3c5ad14d3c051359006dda186a4202f1
Found in base branch: dev
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
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2024-10491
Release Date: 2024-10-29
Fix Resolution (express): 4.0.0
Direct dependency fix Resolution (browser-sync): 2.19.0