Intel

AIKIDO-2026-195704

faraday-http-cache is vulnerable to Information Disclosure

Information DisclosureGHSA-c33f-42f2-gwcc Published Yesterday

65

Medium Risk

This Affects:

RUBYfaraday-http-cache
2.0.0 - 2.7.0
Fixed in 2.8.0
Are you affected? Scan for Free

TL;DR

Faraday::HttpCache's shared cache mode stores and reuses responses to requests that carry an Authorization header without checking whether the response allows shared reuse. A response cached for one user's authenticated request can then be served back to a different user making the same request through the same shared cache, exposing the session specific body and headers the origin returned for the original caller. The fix only stores or reuses such responses when Cache-Control explicitly marks them public, must-revalidate, or sets s-maxage.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and requests from different users share the same cache store.

Background info

faraday-http-cache is vulnerable to Information Disclosure in versions 2.0.0 - 2.7.0.

How to fix this

Upgrade the faraday-http-cache 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