CVE-2020-8162
HIGH 7.5CVSS 3.1Circumvention of file size limits in ActiveStorage
A client side enforcement of server side security vulnerability exists in rails < 5.2.4.2 and rails < 6.0.3.1 ActiveStorage's S3 adapter that allows the Content-Length of a direct file upload to be modified by an end user bypassing upload limits.
- Published
- 19 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-434CWE-602
- Also known as
- GHSA-m42x-37p3-fv5w
- Sources
- NVDJSONOSV GHSA-m42x-37p3-fv5wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
< 5.2.4.2 | 5.2.4.2 |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.0.3.1 | 6.0.3.1 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | RubyGems | activestorage | >= 5.0.0, < 5.2.4.3 | 5.2.4.3 |
| OSV | RubyGems | activestorage | >= 6.0.0, < 6.0.3.1 | 6.0.3.1 |
References
- https://groups.google.com/g/rubyonrails-security/c/PjU3946mreQ · Mailing List, Patch, Third Party Advisory, WEB
- https://hackerone.com/reports/789579 · Exploit, Third Party Advisory, WEB
- https://www.debian.org/security/2020/dsa-4766 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-8162 · ADVISORY
- https://github.com/aws/aws-sdk-ruby/issues/2098 · WEB
- https://github.com/aws/aws-sdk-ruby · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2020-8162.yml · WEB
- https://groups.google.com/forum/#!topic/rubyonrails-security/PjU3946mreQ · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 19 Jun 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 May 2020)