http-cache-semantics through 4.2.0 Cross-Client Cache Disclosure via Vary Wildcard
kornelski http-cache-semantics
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| kornelski http-cache-semantics |
| No fix yet |
Original 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.
From the CVE record · VulnCheck