CVE-2020-8162
rubygem-activestorage: circumvention of file size limits in ActiveStorage
Overview
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
| Ecosystem | Package | Vulnerable | Fixed 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| rails | 2:5.2.4.3+dfsg-1 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-8162
- github.com https://github.com/aws/aws-sdk-ruby
- github.com https://github.com/aws/aws-sdk-ruby/issues/2098
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2020-8162.yml
- groups.google.com https://groups.google.com/forum/#!msg/rubyonrails-security/PjU3946mreQ/Dn-6uLbAAQAJ
- groups.google.com https://groups.google.com/forum/#!topic/rubyonrails-security/PjU3946mreQ
- groups.google.com https://groups.google.com/g/rubyonrails-security/c/PjU3946mreQ
- hackerone.com https://hackerone.com/reports/789579
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-8162
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-8162
Show all 11 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.