CVE-2024-10491 Preload arbitrary resources by injecting additional `Link` headers
MediumCVSS 5.3
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm express(npm) | <= 3.21.4 | No fix listed |
| debian/node-express(Debian:12) | < 4.1.1~dfsg-1 | 4.1.1~dfsg-1 |
| debian/node-express(Debian:13) | < 4.1.1~dfsg-1 | 4.1.1~dfsg-1 |
| debian/node-express(Debian:14) | < 4.1.1~dfsg-1 | 4.1.1~dfsg-1 |
| npm express(npm) | >= 3.0.0-alpha1, <= 3.21.2 | No fix listed |
| expressjs express | >= 3.0.0-alpha1, <= 3.21.2 | No fix listed |
| openjsf express | >= 3.0.0, < 3.21.5 | 3.21.5 |
References
- nvd.nist.gov third-party-advisory
- www.herodevs.com exploit third-party-advisory
- github.com
- github.com
- Debian Security Tracker CVE-2024-10491 vendor-advisory
- bugs.debian.org issue-tracking