Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-16477

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-16477
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:48 UTC · Revision 1

Source evidence

CVE-2018-16477

core-osv · Original source

Published 30 Nov 2018, 19:29 UTC

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.

osv:CVE-2018-16477
Complete source record
{
  "id": "03d996fa177f6c2e40099c687104ca0f06114e64fc5ed0510183017e18ab38b8",
  "url": "https://osv.dev/vulnerability/CVE-2018-16477",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-16477",
    "summary": "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.",
    "evidence": "osv:CVE-2018-16477",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-16477",
      "aliases": [
        "CVE-2018-16477",
        "GHSA-7rr7-rcjw-56vj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rails/rails",
              "type": "GIT",
              "events": [
                {
                  "introduced": "375a4143cf5caeb6159b338be824903edfd62836"
                },
                {
                  "fixed": "96dee0e7e5a8dd6ce42999b13d0bd0623073e229"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.2.0"
                      },
                      {
                        "fixed": "5.2.1.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16477.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:58.599672813Z",
      "provider": "osv",
      "references": [
        "https://weblog.rubyonrails.org/2018/11/27/Rails-4-2-5-0-5-1-5-2-have-been-released/",
        "https://groups.google.com/d/msg/rubyonrails-security/3KQRnXDIuLg/mByx5KkqBAAJ"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-16477",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 439123,
  "published_at": "2018-11-30T19:29:00.297+00:00"
}