Live threats

All CVEs / Rubyonrails

CVE-2020-8162Rubyonrails Rails

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Jun 19, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-602, CWE-434
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems activestorage ≥ 5.0.0 < 5.2.4.3 5.2.4.3 gem "activestorage", ">= 5.2.4.3"
RubyGems activestorage ≥ 6.0.0 < 6.0.3.1 6.0.3.1 gem "activestorage", ">= 6.0.3.1"

Per OSV / GitHub Advisories (GHSA-m42x-37p3-fv5w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails< 5.2.4.2
rubyonrailsrails≥ 6.0.0 < 6.0.3.1
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.