CVE-2020-8162 Circumvention of file size limits in ActiveStorage
Attackers can bypass upload limits in ActiveStorage S3 adapter by modifying Content-Length, requiring an upgrade to Rails.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-8162?
CVE-2020-8162 is a high-severity vulnerability in Debian Debian Linux, published on 19 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2020-8162?
4 open source packages ship an affected version, including activestorage. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
activestorage RubyGems | From 5.0.0 | 5.2.4.3 |
activestorage RubyGems | From 5.0.0 | 5.2.4.3 |
activestorage RubyGems | From 6.0.0 | 6.0.3.1 |
activestorage RubyGems | From 6.0.0 | 6.0.3.1 |
Products include Debian Debian Linux, Rubyonrails Rails.
How do I fix CVE-2020-8162?
Upgrade activestorage to a fixed version for your release line: 5.2.4.3 or 6.0.3.1.
Is CVE-2020-8162 being exploited?
There is no known exploitation of CVE-2020-8162 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2020-8162, GHSA-m42x-37p3-fv5w, UBUNTU-CVE-2020-8162.