Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-8162

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-8162
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:49 UTC · Revision 1

Source evidence

CVE-2020-8162

core-osv · Original source

Published 19 Jun 2020, 17:15 UTC

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.

osv:CVE-2020-8162
Complete source record
{
  "id": "0a0256250baf7aa49db3a06f044d7aa0f5ef7f0485fd7e8fd45243d7c27aedbd",
  "url": "https://osv.dev/vulnerability/CVE-2020-8162",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-8162",
    "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.",
    "evidence": "osv:CVE-2020-8162",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-8162",
      "aliases": [
        "CVE-2020-8162",
        "GHSA-m42x-37p3-fv5w"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rails/rails",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4dcc5435e9569e084f6f90fcea6e7c37d7bd2b4d"
                },
                {
                  "introduced": "66cabeda2c46c582d19738e1318be8d59584cc5b"
                },
                {
                  "fixed": "34991a6ae2fc68347c01ea7382fa89004159e019"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.2.4.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.0.0"
                      },
                      {
                        "fixed": "6.0.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.0.3",
            "v6.0.3.rc1",
            "v5.2.4.1",
            "v5.2.4",
            "v5.2.4.rc1",
            "v6.0.0",
            "v5.2.1.rc1",
            "v5.2.0.rc1",
            "v5.1.0.beta1",
            "v5.0.0.beta4",
            "v5.0.0.beta2",
            "v5.0.0.beta1",
            "v4.2.0.beta1",
            "v4.0.0.rc1",
            "v4.0.0.beta1",
            "v3.2.0.rc1",
            "v3.1.0.rc1",
            "v3.1.0.beta1",
            "v3.0.0.beta3",
            "v3.0.0.beta.3",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0_RC2",
            "v2.0.0_RC1",
            "v2.0.0_PR",
            "v1.1.1",
            "v1.1.0",
            "v1.1.0_RC1",
            "v0.14.3",
            "v0.14.1",
            "v0.13.1",
            "v0.13.0",
            "v0.12.0",
            "v0.11.1",
            "v0.11.0",
            "v0.10.1",
            "v0.10.0",
            "v0.9.5",
            "v0.9.4.1",
            "v0.9.4",
            "v0.9.3",
            "v0.9.2",
            "v0.9.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8162.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:44.939864506Z",
      "provider": "osv",
      "references": [
        "https://www.debian.org/security/2020/dsa-4766",
        "https://groups.google.com/g/rubyonrails-security/c/PjU3946mreQ",
        "https://hackerone.com/reports/789579"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-8162",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436004,
  "published_at": "2020-06-19T17:15:18.583+00:00"
}