Input validation error in activestorage - CVE-2020-8162

 

Input validation error in activestorage - CVE-2020-8162

Published: May 26, 2020


Vulnerability identifier: #VU28240
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-8162
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input in ActiveStorage's S3 adapter. A remote attacker can control the Content-Length of an S3 direct upload URL without receiving a new signature from the server and perform a denial of service (DoS) attack.


Affected software

activestorage
rails (Debian package)
rubygem-rails
rubygem-rails-doc
openEuler

How to mitigate CVE-2020-8162

Install updates from vendor's website.

activestorage - addressed in versions 5.2.4.3, 6.0.3.1
rails (Debian package) - update to 5.2.2.1+dfsg-1+deb10u2
rubygem-rails - update to 5.2.4.4-1
rubygem-rails-doc - update to 5.2.4.4-1

External References

Related Security Bulletins