thruster is vulnerable to Web Cache Poisoning
48
CVE Score
Medium
Web Cache Poisoning
Thruster's HTTP cache reads only the first Vary response field line and only the first value of each request header the response varies on, even though HTTP allows both to be sent as several field lines. A shared cacheable response partitioned by a Vary: Cookie or Authorization sent on a later field line can be served to a different user whose header value differs, and a client that repeats a varied request header can poison the cache entry that ordinary clients receive. The response compression guard has the same blind spot and can skip disabling compression for a response that varies on a later Vary: Cookie line. The fix uses Cache-Control and Vary from every field line, blocks caching when no-store or private is present even alongside public, and applies s-maxage.
Upgrade the thruster library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application marks a response Cache-Control: public while partitioning it with Vary.
0.0.2 - 0.1.26
Fixed in 0.1.27thruster is vulnerable to Web Cache Poisoning in versions 0.0.2 - 0.1.26.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
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.