Live threats

All CVEs / Rubyonrails

CVE-2018-16477Rubyonrails Rails

Medium 6.5 No auth needed

Priority
54
CVSS 3.0
6.5
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
No
Published
Nov 30, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

A bypass vulnerability in Active Storage >= 5.2.0 for Google Cloud Storage and Disk services allow an attacker to modify the `content-disposition` and `content-type` parameters which can be used in with HTML files and have them executed inline. Additionally, if combined with other techniques such as cookie bombing and specially crafted AppCache manifests, an attacker can gain access to private signed URLs within a specific storage path. This vulnerability has been fixed in version 5.2.1.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems activestorage ≥ 5.2.0 < 5.2.1.1 5.2.1.1 gem "activestorage", ">= 5.2.1.1"

Per OSV / GitHub Advisories (GHSA-7rr7-rcjw-56vj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails≥ 5.2.0 < 5.2.1.1

Official sources

References

Links published by the sources. Open them with care.