Vulnerability · Published Oct 29, 2024 · Assigned by HeroDevs
CVE-2024-10491Preload arbitrary resources by injecting additional `Link` headers
Medium 4.0
In plain English
A medium-severity injection in express from express. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-express | 4.1.1~dfsg-1 | DEBIAN-CVE-2024-10491 |
| Debian:13 | node-express | 4.1.1~dfsg-1 | DEBIAN-CVE-2024-10491 |
| Debian:14 | node-express | 4.1.1~dfsg-1 | DEBIAN-CVE-2024-10491 |
| npm | express | 4.0.0-rc1 | GHSA-cm5g-3pgc-8rg4 |
Affected products (as reported)
Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N