ubuntu-cve-2020-8162
Vulnerability from osv_ubuntu
Published
2020-06-19 17:15
Modified
2025-09-08 16:45
Summary
Details

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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "rails",
            "binary_version": "2:4.2.6-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "ruby-actionmailer",
            "binary_version": "2:4.2.6-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "ruby-actionpack",
            "binary_version": "2:4.2.6-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "ruby-actionview",
            "binary_version": "2:4.2.6-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "ruby-activejob",
            "binary_version": "2:4.2.6-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "ruby-activemodel",
            "binary_version": "2:4.2.6-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "ruby-activerecord",
            "binary_version": "2:4.2.6-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "ruby-activesupport",
            "binary_version": "2:4.2.6-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "ruby-rails",
            "binary_version": "2:4.2.6-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "ruby-railties",
            "binary_version": "2:4.2.6-1ubuntu0.1~esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "rails",
        "purl": "pkg:deb/ubuntu/rails@2:4.2.6-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2:4.1.10-1",
        "2:4.2.5-1",
        "2:4.2.5.1-1",
        "2:4.2.5.2-2",
        "2:4.2.6-1",
        "2:4.2.6-1ubuntu0.1~esm1",
        "2:4.2.6-1ubuntu0.1~esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "rails",
            "binary_version": "2:4.2.10-0ubuntu4+esm2"
          },
          {
            "binary_name": "ruby-actionmailer",
            "binary_version": "2:4.2.10-0ubuntu4+esm2"
          },
          {
            "binary_name": "ruby-actionpack",
            "binary_version": "2:4.2.10-0ubuntu4+esm2"
          },
          {
            "binary_name": "ruby-actionview",
            "binary_version": "2:4.2.10-0ubuntu4+esm2"
          },
          {
            "binary_name": "ruby-activejob",
            "binary_version": "2:4.2.10-0ubuntu4+esm2"
          },
          {
            "binary_name": "ruby-activemodel",
            "binary_version": "2:4.2.10-0ubuntu4+esm2"
          },
          {
            "binary_name": "ruby-activerecord",
            "binary_version": "2:4.2.10-0ubuntu4+esm2"
          },
          {
            "binary_name": "ruby-activesupport",
            "binary_version": "2:4.2.10-0ubuntu4+esm2"
          },
          {
            "binary_name": "ruby-rails",
            "binary_version": "2:4.2.10-0ubuntu4+esm2"
          },
          {
            "binary_name": "ruby-railties",
            "binary_version": "2:4.2.10-0ubuntu4+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "rails",
        "purl": "pkg:deb/ubuntu/rails@2:4.2.10-0ubuntu4+esm2?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2:4.2.9-2",
        "2:4.2.9-4",
        "2:4.2.10-0ubuntu4",
        "2:4.2.10-0ubuntu4+esm1",
        "2:4.2.10-0ubuntu4+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "rails",
            "binary_version": "2:5.2.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "ruby-actioncable",
            "binary_version": "2:5.2.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "ruby-actionmailer",
            "binary_version": "2:5.2.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "ruby-actionpack",
            "binary_version": "2:5.2.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "ruby-actionview",
            "binary_version": "2:5.2.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "ruby-activejob",
            "binary_version": "2:5.2.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "ruby-activemodel",
            "binary_version": "2:5.2.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "ruby-activerecord",
            "binary_version": "2:5.2.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "ruby-activestorage",
            "binary_version": "2:5.2.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "ruby-activesupport",
            "binary_version": "2:5.2.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "ruby-rails",
            "binary_version": "2:5.2.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "ruby-railties",
            "binary_version": "2:5.2.3+dfsg-3ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "rails",
        "purl": "pkg:deb/ubuntu/rails@2:5.2.3+dfsg-3ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2:5.2.2.1+dfsg-1ubuntu1",
        "2:5.2.3+dfsg-3",
        "2:5.2.3+dfsg-3ubuntu0.1~esm1"
      ]
    }
  ],
  "aliases": [],
  "details": "A client side enforcement of server side security vulnerability exists in rails \u003c 5.2.4.2 and rails \u003c 6.0.3.1 ActiveStorage\u0027s S3 adapter that allows the Content-Length of a direct file upload to be modified by an end user bypassing upload limits.",
  "id": "UBUNTU-CVE-2020-8162",
  "modified": "2025-09-08T16:45:59Z",
  "published": "2020-06-19T17:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-8162"
    },
    {
      "type": "REPORT",
      "url": "https://weblog.rubyonrails.org/2020/5/18/Rails-5-2-4-3-and-6-0-3-1-have-been-released"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/rails/rails/commit/e8df5648515a0e8324d3b3c4bdb7bde6802cd8be"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2020-8162"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2020-8162"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…