Skip to main content
Public proof of conceptFix available

CVE-2020-8162

A public proof of concept exists; no exploitation attested.

  • Published2020-06-19
  • Fixed in6.0.3.1 · 5.2.4.3 · 5.2.4.2
  • WeaknessCWE-434 · CWE-602

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2020-06-1917:15CVE publishedNVD

Versions per branch

NVD · OSV
Ruby on Rails
BranchAffectedFixed in
6.0≥ 6.0.0, < 6.0.3.16.0.3.1
5.x≥ 5.0.0, < 5.2.4.35.2.4.3
5.2< 5.2.4.25.2.4.2
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ansible-collection-redhat-satelliteRed Hat:satellite:6.9::el7all versions · fixed in 0:2.0.1-1.el7sat
  • ansible-collection-redhat-satelliteRed Hat:satellite_capsule:6.9::el7all versions · fixed in 0:2.0.1-1.el7sat
  • ansible-runnerRed Hat:satellite:6.9::el7all versions · fixed in 0:1.4.6-1.el7arand 1 other package
  • ansible-runnerRed Hat:satellite_capsule:6.9::el7all versions · fixed in 0:1.4.6-1.el7arand 1 other package
  • ansiblerole-insights-clientRed Hat:satellite:6.9::el7all versions · fixed in 0:1.7.1-1.el7sat
  • ansiblerole-insights-clientRed Hat:satellite_capsule:6.9::el7all versions · fixed in 0:1.7.1-1.el7sat
  • ansiblerole-satellite-receptor-installerRed Hat:satellite:6.9::el7all versions · fixed in 0:0.6.13-1.el7sat
  • ansiblerole-satellite-receptor-installerRed Hat:satellite_capsule:6.9::el7all versions · fixed in 0:0.6.13-1.el7sat

558 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-8162 Red Hat Product Security1,445 products fixed · 2 known affected

    rubygem-activestorage: circumvention of file size limits in ActiveStorage

    cfme-gemset as a component of CloudForms Management Engine 5 · cfme-gemset.src as a component of CloudForms Management Engine 5

  • RHSA-2021:1313 Red Hat Product Security1,445 products fixed

    Red Hat Security Advisory: Satellite 6.9 Release

Full record on NVD

Fix

  1. Update Ruby on Rails to 6.0.3.1 · 5.2.4.3 · 5.2.4.2
  2. Vendor fix Red Hat Product Security RHSA-2021:1313 · 1,445 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. No fix planned, says the vendor Red Hat Product Security CVE-2020-8162 · 2 productsWill not fix

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.17.5read 2026-10-23
  • NVDCVSS 2.05read 2026-10-23
  • CNAweakness (CWE)CWE-602known since 2026-10-23
  • NVDweakness (CWE)CWE-434read 2026-10-23
  • FIRST EPSSEPSS score3.0 %2026-12-04
  • PoC-in-GitHubproof of concept1known since 2026-11-01
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2020-05-26

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
2020-06-19
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-m42x-37p3-fv5w

Frequently asked questions

What is CVE-2020-8162?

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.

Is CVE-2020-8162 actively exploited?

Active exploitation of CVE-2020-8162 has not been confirmed. Its EPSS score was 3.0% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-8162?

CVE-2020-8162 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Running activestorage? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record