GHSA-ch52-4w7c-c8xp
Withdrawn Advisory: http-cache-semantics max-stale handling can disclose cross-user cached responses
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | http-cache-semantics | <= 4.2.0 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
### Withdrawn Advisory
This advisory has been withdrawn because it's not a valid vulnerability. This link is maintained to preserve external references.
### Original Description
http-cache-semantics through 4.2.0 fails to properly validate security-zeroed cache entries when processing client max-stale directives, allowing unauthenticated attackers to retrieve cached responses belonging to other users. Attackers can request the same URL with a large max-stale value to obtain another user's Set-Cookie session credentials from shared-cache entries that were deliberately zeroed for security reasons.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2026-93748
- https://github.com/kornelski/http-cache-semantics/issues/56
- https://github.com/kornelski/http-cache-semantics/issues/56#issuecomment-5975759591
- https://github.com/kornelski/http-cache-semantics
- https://github.com/kornelski/http-cache-semantics/blob/f01112e954b83cfa8765b633ba880e5e980aa54c/index.js#L425-L441
- https://github.com/kornelski/http-cache-semantics/blob/f01112e954b83cfa8765b633ba880e5e980aa54c/index.js#L603-L623
- https://www.vulncheck.com/advisories/http-cache-semantics-through-4.2.0-cross-user-cache-disclosure-via-max-stale