BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2020-8162 in Debian Linux and 1 more product

High 7.5

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.

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.5
EPSS3.0%
EPSS percentile88th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 10.0
Rubyonrails Rails < 5.2.4.2 ≥ 6.0.0, < 6.0.3.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-8162
BreachSpider IDBS-2020-GLOBAL-232750-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2020-06-19
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-434: Unrestricted Upload of File with Dangerous Type

Application allows file uploads without validating type, enabling upload of executable code or web shells.

CWE-602: CWE-602

Related attack patterns (CAPEC)

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-602

CAPEC-162 Manipulating Hidden Fields via CWE-602

CAPEC-208 Removing/short-circuiting 'Purse' logic: removing/mutating 'cash' decrements via CWE-602

CAPEC-383 Harvesting Information via API Event Monitoring via CWE-602

CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-602

Show all 13

CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-602

CAPEC-388 Application API Button Hijacking via CWE-602

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-434

CAPEC-202 Create Malicious Client via CWE-602

CAPEC-207 Removing Important Client Functionality via CWE-602

CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-602

CAPEC-386 Application API Navigation Remapping via CWE-602

CAPEC-21 Exploitation of Trusted Identifiers via CWE-602

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in Rails ActiveStorage's S3 adapter allows unauthorized modification of the Content-Length header during direct file uploads, potentially bypassing server-side upload limits.

An attacker can manipulate the Content-Length header of a file being uploaded directly to S3 through the ActiveStorage interface, which can lead to uploading files larger than intended or exceeding server-side defined limits.

Questions

What is CVE-2020-8162?

A vulnerability in Rails ActiveStorage's S3 adapter allows unauthorized modification of the Content-Length header during direct file uploads, potentially bypassing server-side upload limits.

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

CVE-2020-8162 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 3.0%.

Is CVE-2020-8162 actively exploited?

No confirmed active exploitation of CVE-2020-8162 as of 2026-09-25.

How do I remediate CVE-2020-8162?

Priority: HIGH.

What systems are affected by CVE-2020-8162?

CVE-2020-8162 affects Debian Debian Linux; Rubyonrails Rails.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.