Information disclosure in https://github.com/rails/rails
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | https://github.com/rails/rails | 5.2.0 and later and before 5.2.1.1 | — | No fix listed | CNA |
| — | activestorage (RubyGems) | 5.2.0 to before 5.2.1.1 | 5.2.1.1 | Patch available | GHSA-7rr7-rcjw-56vj |
- https://github.com/rails/rails Vendor— Affected 5.2.0 and later and before 5.2.1.1 Fixed in — No fix listed CNA
- activestorage (RubyGems) Vendor— Affected 5.2.0 to before 5.2.1.1 Fixed in 5.2.1.1 Patch available GHSA-7rr7-rcjw-56vj
Remediation
- Fix · GHSA-7rr7-rcjw-56vj activestorage (RubyGems) Fixed in 5.2.1.1 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2018-16477
- 2026-10-03 Alias added: GHSA-7rr7-rcjw-56vj
References
Advisory 3
More Rails vulnerabilities
- TI-2014-00124 Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the… KEVCVSS 3.1HIGH 7.5
- TI-2019-03828 Path traversal in Rails https://github.com/rails/rails KEVCVSS 3.1HIGH 7.5
- TI-2016-00672 Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x… KEVCVSS 3.1HIGH 7.5
- TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
- TI-2020-06581 Code injection in https://github.com/rails/rails CVSS 3.1HIGH 8.8
- TI-2013-00091 active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before… CVSS 2.0HIGH 7.5
Sources
- CVE-2018-16477 · CVE Program
- CVE-2018-16477 · NVD
- FIRST EPSS
- GHSA-7rr7-rcjw-56vj · GitHub Advisory Database · CC BY 4.0
- CVE-2018-16477 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences