CVE-2018-16477Rubyonrails Rails
Medium 6.5 No auth needed
Follow: this CVE · Rubyonrails · Rubyonrails Rails We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.0
- 6.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Nov 30, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
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
- Apply the vendor's security update for Rails.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | activestorage |
≥ 5.2.0 < 5.2.1.1 |
5.2.1.1 |
gem "activestorage", ">= 5.2.1.1" |
Per OSV / GitHub Advisories (GHSA-7rr7-rcjw-56vj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rubyonrails | rails | ≥ 5.2.0 < 5.2.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- groups.google.com Exploit Mailing List Mitigation
- weblog.rubyonrails.org Vendor Advisory