Access Restriction Bypass Affecting activestorage package, versions <5.2.1.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (53rd 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 Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-ACTIVESTORAGE-72641
  • published28 Nov 2018
  • disclosed28 Nov 2018
  • creditUnknown

Introduced: 28 Nov 2018

CVE-2018-16477  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade activestorage to version 5.2.1.1 or higher.

Overview

activestorage attaches cloud and local files in Rails applications.

Affected versions o f this package are vulnerable to Access Restriction Bypass. Signed download URLs generated by ActiveStorage for Google Cloud Storage service and Disk service include content-disposition and content-type parameters that an attacker can modify. This can be used to upload specially crafted HTML files and have them served and executed inline.

CVSS Scores

version 3.1