CVE-2020-8162
Circumvention of file size limits in ActiveStorage
Summary
Remediation
Upgrade to the fixed version using your package manager.
gem install activestorage -v 6.0.3.1
gem install activestorage -v 5.2.4.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| activestorage | rubygems | 6.0.0, 6.0.1, 6.0.1.rc1, 6.0.2 (+6 more) | 6.0.3.1 |
| activestorage | rubygems | 5.2.0, 5.2.0.beta1, 5.2.0.beta2, 5.2.0.rc1 (+13 more) | 5.2.4.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-434Unrestricted File UploadMITRE
- CWE-602
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-8162ADVISORY
- https://github.com/aws/aws-sdk-ruby/issues/2098WEB
- https://hackerone.com/reports/789579WEB
- https://github.com/aws/aws-sdk-rubyWEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2020-8162.ymlWEB
- https://groups.google.com/forum/#!topic/rubyonrails-security/PjU3946mreQWEB
- https://groups.google.com/g/rubyonrails-security/c/PjU3946mreQWEB
- https://www.debian.org/security/2020/dsa-4766WEB
Frequently Asked Questions
- What is CVE-2020-8162?
- Circumvention of file size limits in ActiveStorage This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2020-8162?
- CVE-2020-8162 affects activestorage. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-8162 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2025-24293CRITICAL
Active Storage allowed transformation methods that were potentially unsafe
- CVE-2026-33195HIGH
Rails Active Storage has possible Path Traversal in DiskService
- CVE-2026-33202MEDIUM
Rails Active Storage has possible glob injection in its DiskService
- CVE-2018-16477MEDIUM
Exposure of Sensitive Information to an Unauthorized Actor in activestorage
- CVE-2024-26144MEDIUM
Rails has possible Sensitive Session Information Leak in Active Storage
- CVE-2026-33173MEDIUM
Rails Active Storage has possible content type bypass via metadata in direct uploads
- CVE-2026-33174MEDIUM
Rails Active Storage has a possible DoS vulnerability when in proxy mode via Range requests
- CVE-2026-33658LOW
Rails Active Storage has a possible DoS vulnerability in proxy mode via multi-range requests
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies