Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-8162

rubygem-activestorage: circumvention of file size limits in ActiveStorage

Overview

Published
19 Jun 2020
Modified
17 Jun 2026
High CVE
1 Registry packages
547 OS packages
4 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weakness: CWE-602, CWE-434

Affected packages · 1

Packages affected by CVE-2020-8162
EcosystemPackageVulnerableFixed in
RubyGems activestorage >=5.0.0, <5.2.4.3>=6.0.0, <6.0.3.1 5.2.4.36.0.3.1~> 5.2.4, >= 5.2.4.3

Open a package to see all its vulnerabilities.

Operating systems · 415 fixes

Red Hat 2 releases · 405 packages

wont fix 2 fixed 404
cfme-gemset tfm-rubygem-kafo-wizards tfm-rubygem-declarative tfm-rubygem-hammer-cli-foreman-tasks tfm-rubygem-smart-proxy-dhcp-infoblox rh-postgresql12-postgresql-evr +399
Red Hat fixes for CVE-2020-8162
ReleasePackageFixed inAdvisory
7 cfme-gemset wont fix —
7 tfm-rubygem-kafo-wizards 0:0.0.1-4.el7sat RHSA-2021:1313
7 tfm-rubygem-declarative 0:0.0.10-1.el7sat RHSA-2021:1313
7 tfm-rubygem-hammer-cli-foreman-tasks 0:0.0.15-1.el7sat RHSA-2021:1313
7 tfm-rubygem-smart-proxy-dhcp-infoblox 0:0.0.16-4.el7sat RHSA-2021:1313
7 rh-postgresql12-postgresql-evr +1 0:0.0.2-1.el7sat RHSA-2021:1313

400 more rows

debian 5 releases · 1 package

fixed 5
rails
debian fixes for CVE-2020-8162
ReleasePackageFixed in
10 rails 2:5.2.2.1+dfsg-1+deb10u2
11 rails 2:5.2.4.3+dfsg-1
12 rails 2:5.2.4.3+dfsg-1
13 rails 2:5.2.4.3+dfsg-1
14 rails 2:5.2.4.3+dfsg-1

echo 1 release · 1 package

fixed 1
rails
echo fixes for CVE-2020-8162
ReleasePackageFixed in
rails 2:5.2.4.3+dfsg-1

openSUSE 1 release · 3 packages

fixed 3
ruby2-7-rubygem-activestorage-5-2 ruby2-7-rubygem-activestorage-6-0 ruby3-1-rubygem-activestorage-6-0
openSUSE fixes for CVE-2020-8162
ReleasePackageFixed inAdvisory
Tumbleweed ruby2-7-rubygem-activestorage-5-2 +1 5.2.6-1.2 openSUSE-SU-2024:11328-1
Tumbleweed ruby2-7-rubygem-activestorage-6-0 +1 6.0.4-1.2 openSUSE-SU-2024:11329-1
Tumbleweed ruby3-1-rubygem-activestorage-6-0 6.0.4.4-1.1 openSUSE-SU-2024:11827-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.