VDB
Sign up
HIGH7.5

GHSA-ch52-4w7c-c8xp

http-cache-semantics max-stale handling can disclose cross-user cached responses

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/http-cache-semantics
Introduced in: 0

No fixed version published yet for http-cache-semantics (npm). Pin to a known-safe version or switch to an alternative.

References