Bug 2540155 - CVE-2026-85008 nodejs22: undici: Integrity failure due to caching of unsafe HTTP method responses [fedora-all]
Summary: CVE-2026-85008 nodejs22: undici: Integrity failure due to caching of unsafe H...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: nodejs22
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Jan Staněk
QA Contact:
URL:
Whiteboard: {"flaws": ["fbeedba5-b979-4a10-99e2-3...
Depends On:
Blocks: CVE-2026-85008
TreeView+ depends on / blocked
 
Reported: 2026-09-24 15:05 UTC by Ganesh
Modified: 2026-09-24 15:05 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ganesh 2026-09-24 15:05:24 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

undici's cache interceptor documents that only safe HTTP methods are cached, but its logic to skip caching is built by subtracting the configured methods from the set of safe methods, so an unsafe method such as POST, PUT, or DELETE is never placed in the skip list and instead falls through to the full cache-read path. The response-storage gate also lacked a method check, so a response to an unsafe request that is heuristically cacheable or carries an explicit Cache-Control directive is stored and later replayed from cache. Because response headers from a remote origin are untrusted, an origin can answer once with a cacheable status and then have the client's own subsequent state-changing requests to that path served from the stale cache entry without ever reaching the origin, an integrity failure that occurs under the interceptor's default configuration. This affects undici versions from 7.0.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.


Note You need to log in before you can comment on or make changes to this bug.