undici is vulnerable to Insufficient Verification of Data Authenticity
37
Low Risk
The cache interceptor is documented to cache only safe HTTP methods, but its skip list is built by subtracting configured methods from the safe-method set, so POST, PUT, PATCH, and DELETE still hit the cache. Combined with a storage gate that does not check the method, a cacheable response to an unsafe request is stored and replayed, and the state-changing request never reaches the origin. The fix stops reading from or writing to the cache for unsafe methods.
You are affected if you are using a version that falls within the vulnerable range and you use interceptors.cache().
undici is vulnerable to Insufficient Verification of Data Authenticity in versions 7.0.0 - 7.29.0 and 8.0.0 - 8.10.1.
Upgrade the undici library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.