What’s Vulnerable › Vulnerabilities

CVE-2020-8162: Circumvention of file size limits in ActiveStorage

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.

Affected products

How to fix

Upgrade to a fixed version: Ruby on Rails 5.2.4.2, 6.0.3.1; Rubygems Activestorage 5.2.4.3, 6.0.3.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-8162 or the next vulnerability affects your stack