CVE-2020-8162
HIGH7.5EPSS 1.5%Circumvention of file size limits in ActiveStorage
Published: 5/26/2020Modified: 4/28/2026
Description
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.
Affected packages (2)
- Debian/railsfrom 0, < 2:5.2.4.3+dfsg-1
- RubyGems/activestorage>= 5.0.0, < 5.2.4.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-8162
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-8162
- WEBhttps://github.com/aws/aws-sdk-ruby
- WEBhttps://github.com/aws/aws-sdk-ruby/issues/2098
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2020-8162.yml
- WEBhttps://groups.google.com/forum/#!topic/rubyonrails-security/PjU3946mreQ
- WEBhttps://groups.google.com/g/rubyonrails-security/c/PjU3946mreQ
- WEBhttps://hackerone.com/reports/789579
- WEBhttps://www.debian.org/security/2020/dsa-4766