Intel

AIKIDO-2026-143550

thruster is vulnerable to Web Cache Poisoning

Web Cache PoisoningGHSA-g74j-pv38-jj8g Published 5 days ago

48

Medium Risk

This Affects:

RUBYthruster
0.0.2 - 0.1.26
Fixed in 0.1.27
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

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.

Background info

thruster is vulnerable to Web Cache Poisoning in versions 0.0.2 - 0.1.26.

How to fix this

Upgrade the thruster library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform