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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.25% (66th 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-DEBIAN13-RAILS-5693805
  • 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:13 rails to version 2:5.2.4.3+dfsg-1 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:13 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