Vulnerability · Published Jun 19, 2020 · Assigned by hackerone
CVE-2020-8162
High 7.5
In plain English
A high-severity security flaw in https://github.com/rails/rails. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.0% (higher than 88% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)3.0%top 12.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rails | 2:5.2.4.3+dfsg-1 | DEBIAN-CVE-2020-8162 |
| Debian:13 | rails | 2:5.2.4.3+dfsg-1 | DEBIAN-CVE-2020-8162 |
| Debian:14 | rails | 2:5.2.4.3+dfsg-1 | DEBIAN-CVE-2020-8162 |
| RubyGems | activestorage | 5.2.4.3 | GHSA-m42x-37p3-fv5w |
| RubyGems | activestorage | 6.0.3.1 | GHSA-m42x-37p3-fv5w |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/rails/rails | rails >= 5.2.4.3, rails >= 6.0.3.1 |
Weakness: CWE-602
References
- https://hackerone.com/reports/789579 x_refsource_MISC
- https://groups.google.com/g/rubyonrails-security/c/PjU3946mreQ x_refsource_MISC
- DSA-4766 vendor-advisory, x_refsource_DEBIAN