VDB
Sign up
MEDIUM6.5

GHSA-7rr7-rcjw-56vj

Exposure of Sensitive Information to an Unauthorized Actor in activestorage

Quick fix

GHSA-7rr7-rcjw-56vj — activestorage: upgrade to the fixed version with the command below.

bundle update activestorage

Details

A bypass vulnerability in Active Storage >= 5.2.0 for Google Cloud Storage and Disk services allow an attacker to modify the `content-disposition` and `content-type` parameters which can be used in with HTML files and have them executed inline. Additionally, if combined with other techniques such as cookie bombing and specially crafted AppCache manifests, an attacker can gain access to private signed URLs within a specific storage path.

Vulnerable apps are those using either GCS or the Disk service in production. Other storage services such as S3 or Azure aren't affected.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/activestorage
Introduced in: 5.2.0Fixed in: 5.2.1.1
Fixbundle update activestorage

References