Description
http-cache-semantics through 4.2.0 contains a cache validation vulnerability in the _varyMatches() function that fails to properly validate Vary header wildcards due to byte-for-byte string comparison. Attackers can request URLs previously fetched by other clients to receive cached responses intended for different users, disclosing sensitive information across clients.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| kornelski | http-cache-semantics | ≤ 4.2.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-got | No fix yet | — |
| Debian 13 | node-got | No fix yet | — |
| Debian 12 | node-got | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-got | No fix yet | — |
| Ubuntu 26.04 LTS | node-got | No fix yet | — |
| Ubuntu 24.04 LTS | node-got | No fix yet | — |
| Ubuntu 22.04 LTS | node-got | No fix yet | — |
| Ubuntu 20.04 LTS | node-got | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-got | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | nodejs-nodemon +1 | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | npm-12 | No fix yet | — |
Advisories 1
- WID-SEC-2026-4413 IBM QRadar SIEM (Log Source Management App): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026
References
- GitHub Issue #57 issue-tracking
- https://github.com/kornelski/http-cache-semantics product
- _varyMatches() exact-string wildcard test and unguarded per-field comparison technical-description
- VulnCheck Advisory: http-cache-semantics through 4.2.0 Cross-Client Cache Disclosure via Vary Wildcard third-party-advisory