Vulnerability record
undici vulnerable to cross-user cache disclosure via mismatched-ETag 304 revalidation
undici is an HTTP client for Node.js. In versions 7.17.0 through 7.30.3 and 8.0.0 through 8.14.0, when the cache interceptor is used with a shared cache and serves a response inside its stale-while-revalidate window, it revalidates the stored response in the background, and if that background 304 Not Modified carries an ETag that differs from the cached representation, undici reuses the stored body and binds it to the new validator and freshness lifetime instead of discarding it, unlike the synchronous revalidation path. A remote origin that answers the background conditional request this way…
6.5/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:NExploitability
AV:NAC:HPR:NUI:NScope
S:UImpact
C:HI:LA:NRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources