Unrestricted Upload of File with Dangerous Type Affecting rails package, versions <2:5.2.2.1+dfsg-1+deb10u2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.1% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Unrestricted Upload of File with Dangerous Type vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN10-RAILS-571276
  • published4 Jun 2020
  • disclosed19 Jun 2020

Introduced: 4 Jun 2020

CVE-2020-8162  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade Debian:10 rails to version 2:5.2.2.1+dfsg-1+deb10u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rails package and not the rails package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

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.

CVSS Scores

version 3.1