cve.bz

CVE-2020-8162

7.5 highExploit referenceEPSS 3.0%Fix available

High (7.5). EPSS 3.0% estimated probability of exploitation activity in the next 30 days. Fixed in activestorage 5.2.4.3, 6.0.3.1.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-434 Unrestricted Upload of File with Dangerous Type
CWE-602 Client-Side Enforcement of Server-Side Security
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-8162 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-8162?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-8162?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-8162 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rubyonrails:railsbefore 5.2.4.2
rubyonrails:railsfrom 6.0.0 before 6.0.3.1
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m42x-37p3-fv5wRubyGemsactivestorage>=5.0.0 <5.2.4.35.2.4.3
GHSA-m42x-37p3-fv5wRubyGemsactivestorage>=6.0.0 <6.0.3.16.0.3.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10rails2:5.2.2.1+dfsg-1+deb10u2DSA-4766-1
Debian12, 13, 14rails2:5.2.4.3+dfsg-1DEBIAN-CVE-2020-8162
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSrailsno fix listedUBUNTU-CVE-2020-8162
Red Hatsatellite:6.9::el7createrepo_c, createrepo_c-libs, python3-createrepo_c and 1 more0:0.17.1-1.el7pcRHSA-2021:1313
Red Hatsatellite:6.9::el7keycloak-httpd-client-install, python2-keycloak-httpd-client-install0:1.2.2-2.el7satRHSA-2021:1313
Red Hatsatellite:6.9::el7libcomps, python3-libcomps, libcomps-debuginfo0:0.1.15-1.el7pcRHSA-2021:1313
Red Hatsatellite:6.9::el7libsolv, python2-solv, python3-solv and 1 more0:0.7.12-2.el7pcRHSA-2021:1313
Red Hatsatellite:6.9::el7pcp-mmvstatsd0:0.4-2.el7satRHSA-2021:1313
Red Hatsatellite:6.9::el7pulp-katello, tfm-rubygem-pulp_certguard_client0:1.0.3-1.el7satRHSA-2021:1313
Red Hatsatellite:6.9::el7pulpcore-selinux0:1.2.3-2.el7pcRHSA-2021:1313
Red Hatsatellite:6.9::el7puppet-foreman_scap_client, tfm-rubygem-apipie-bindings0:0.4.0-1.el7satRHSA-2021:1313
Red Hatsatellite:6.9::el7python-aiofiles, python3-aiofiles, python-defusedxml and 1 more0:0.6.0-1.el7pcRHSA-2021:1313
Red Hatsatellite:6.9::el7python-backoff, python3-backoff0:1.10.0-3.el7pcRHSA-2021:1313
Red Hatsatellite:6.9::el7python-cffi, python3-cffi, python-cffi-debuginfo0:1.14.3-1.el7pcRHSA-2021:1313
Red Hatsatellite:6.9::el7python-django-lifecycle, python3-django-lifecycle0:0.8.0-1.el7pcRHSA-2021:1313
188 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedrubygem-activestorage-6.06.0.4.4-1.1openSUSE-SU-2024:11827-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Satellite 6.9 for RHEL 7ansible-collection-redhat-satellite-0:2.0.1-1.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7ansiblerole-foreman_scap_client-0:0.1.0-1.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7ansiblerole-insights-client-0:1.7.1-1.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7ansiblerole-satellite-receptor-installer-0:0.6.13-1.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7ansible-runner-0:1.4.6-1.el7arFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7candlepin-0:3.1.26-1.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7createrepo_c-0:0.17.1-1.el7pcFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7foreman-0:2.3.1.20-1.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7foreman-bootloaders-redhat-0:202005201200-1.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7foreman-discovery-image-0:3.7.4-2Fixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7foreman-discovery-image-service-0:1.0.0-4.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7foreman-installer-1:2.3.1.10-1.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7foreman-proxy-0:2.3.1-1.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7foreman-selinux-0:2.3.1-1.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7future-0:0.16.0-11.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7gofer-0:2.12.5-7.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7hfsplus-tools-0:332.14-12.el7Fixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7katello-0:3.18.1-3.el7satFixed 2021-04-21RHSA-2021:1313
Red Hat Satellite 6.9 for RHEL 7katello-certs-tools-0:2.7.3-1.el7satFixed 2021-04-21RHSA-2021:1313
CloudForms Management Engine 5cfme-gemsetWill not fix
444 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-8162.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-602 (12).

References

Check your stackJSON