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

EcosystemPackageFixed inAdvisory
Debian:12rails2:5.2.4.3+dfsg-1DEBIAN-CVE-2020-8162
Debian:13rails2:5.2.4.3+dfsg-1DEBIAN-CVE-2020-8162
Debian:14rails2:5.2.4.3+dfsg-1DEBIAN-CVE-2020-8162
RubyGemsactivestorage5.2.4.3GHSA-m42x-37p3-fv5w
RubyGemsactivestorage6.0.3.1GHSA-m42x-37p3-fv5w

Affected products (as reported)

VendorProductVersions
n/a https://github.com/rails/rails rails >= 5.2.4.3, rails >= 6.0.3.1

Weakness: CWE-602

References