Read the docs
TI-2020-06580 Aliases CVE-2020-8162GHSA-m42x-37p3-fv5w

Unrestricted file upload in https://github.com/rails/rails

Priority LOW 38CWE-602Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
None · High · None
Fix status
Partial Red Hat: 2 fixed, 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-434.

Summary

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.

Why it matters now

EPSS 0.03028 87th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial activestorage (RubyGems): 5.2.4.3, 6.0.3.1Red Hat: 1 advisoryRed Hat: 2 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—https://github.com/rails/railsrails >= 5.2.4.3, rails >= 6.0.3.1—No fix listedCNA
—activestorage (RubyGems)5.0.0 to before 5.2.4.35.2.4.3Patch availableGHSA-m42x-37p3-fv5w
—activestorage (RubyGems)6.0.0 to before 6.0.3.16.0.3.1Patch availableGHSA-m42x-37p3-fv5w
  • https://github.com/rails/rails Vendor— Affected rails >= 5.2.4.3, rails >= 6.0.3.1 Fixed in — No fix listed CNA
  • activestorage (RubyGems) Vendor— Affected 5.0.0 to before 5.2.4.3 Fixed in 5.2.4.3 Patch available GHSA-m42x-37p3-fv5w
  • activestorage (RubyGems) Vendor— Affected 6.0.0 to before 6.0.3.1 Fixed in 6.0.3.1 Patch available GHSA-m42x-37p3-fv5w

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*before 5.2.4.2; 6.0.0 to before 6.0.3.1VulnerableRails
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* Versions before 5.2.4.2; 6.0.0 to before 6.0.3.1 Vulnerable ·Rails
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-m42x-37p3-fv5w activestorage (RubyGems) Fixed in 5.2.4.3 Advisory →
  • Fix · GHSA-m42x-37p3-fv5w activestorage (RubyGems) Fixed in 6.0.3.1 Advisory →

Red Hat 1 advisory

  • RHSA-2021:1313 Released 2021-04-21 · Red Hat rating Moderate
    Satellite 6.9 Release
    • Red Hat Satellite 6.9 ansible-collection-redhat-satellite-2.0.1-1.el7sat, ansible-runner-1.4.6-1.el7ar, ansiblerole-foreman_scap_client-0.1.0-1.el7sat +47
    • Red Hat Satellite Capsule 6.9 ansible-collection-redhat-satellite-2.0.1-1.el7sat, ansible-runner-1.4.6-1.el7ar, ansiblerole-foreman_scap_client-0.1.0-1.el7sat +47

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
CloudForms Management Engine 5AffectedNo fix planned: Will not fix
Red Hat Satellite 6.9Fixed RHSA-2021:1313
Red Hat Satellite Capsule 6.9Fixed RHSA-2021:1313

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-8162
  2. 2026-10-03 Alias added: GHSA-m42x-37p3-fv5w

References

Sources