{"id":"CVE-2020-8162","published":"2020-06-19T17:02:42Z","modified":"2024-08-04T09:48:25Z","title":"A client side enforcement of server side security vulnerability exists in rails < 5.2.4.2 and rails < 6.0.3.1…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03028,"percentile":0.87796,"provenance":"source"},"cwes":[{"id":"CWE-602","name":"Client-Side Enforcement of Server-Side Security"}],"references":[{"url":"https://hackerone.com/reports/789579","tags":["x_refsource_MISC"]},{"url":"https://groups.google.com/g/rubyonrails-security/c/PjU3946mreQ","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2020/dsa-4766","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"priority":{"score":22.6,"factors":[{"name":"EPSS percentile","points":17.56},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2020-04-05","earliestUrl":"https://github.com/usutani/study-turbolinks-link","repos":[{"name":"usutani/study-turbolinks-link","url":"https://github.com/usutani/study-turbolinks-link","stars":0,"created":"2020-04-05"}]},"first":{"date":"2020-04-05","source":"PoC-in-GitHub","url":"https://github.com/usutani/study-turbolinks-link"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/rails/rails","versions":["rails >= 5.2.4.3, rails >= 6.0.3.1"]}],"affected":[{"ecosystem":"RubyGems","package":"activestorage","vulnerableRanges":[">=5.0.0, <5.2.4.3",">=6.0.0, <6.0.3.1"],"patched":["5.2.4.3","6.0.3.1"],"from":["GHSA-m42x-37p3-fv5w"],"provenance":"source"}],"summary":{"text":"A client-side enforcement of server-side security flaw exists in Rails ActiveStorage's S3 adapter, affecting Rails versions before 5.2.4.2 and before 6.0.3.1. An end user can modify the Content-Length of a direct file upload to bypass upload size limits.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:29Z"},"euvd":{"id":"EUVD-2020-0430","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-16477","published":"2018-11-30","fixed":"5.2.1.1","kev":false,"link":{"from":"CVE-2018-16477","to":"CVE-2020-8162","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activestorage","fromFixed":"5.2.1.1","toFixed":"5.2.4.3","daysApart":567}]}},{"cve":"CVE-2020-8162","published":"2020-06-19","fixed":"6.0.3.1","kev":false},{"cve":"CVE-2022-21831","published":"2022-05-26","fixed":"7.0.2.3","kev":false,"link":{"from":"CVE-2020-8162","to":"CVE-2022-21831","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activestorage","fromFixed":"5.2.4.3","toFixed":"5.2.6.3","daysApart":706},{"kind":"version-step","provenance":"source","package":"RubyGems:activestorage","fromFixed":"6.0.3.1","toFixed":"6.0.4.7","daysApart":706}]}},{"cve":"CVE-2024-26144","published":"2024-02-27","fixed":"7.0.8.1","kev":false},{"cve":"CVE-2025-24293","published":"2026-01-30","fixed":"8.0.2.1","kev":false}],"package":"RubyGems:activestorage"}}