Skip to content
Heist/ feed
Back to feed
MediumFix available

ruby-carrierwave — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-21288

CarrierWave is an open-source RubyGem which provides a simple and flexible way to upload files from Ruby applications. In CarrierWave before versions 1.3.2 and 2.1.1 the download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. This is fixed in versions 1.3.2 and 2.1.1.

Products
ruby-carrierwave
Affected versions
Not specified
Fixed versions
1.3.2-1
CVEs
CVE-2021-21288
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:20 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-21288

core-osv · Original source

Published 8 Feb 2021, 20:15 UTC

CarrierWave is an open-source RubyGem which provides a simple and flexible way to upload files from Ruby applications. In CarrierWave before versions 1.3.2 and 2.1.1 the download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. This is fixed in versions 1.3.2 and 2.1.1.

osv:DEBIAN-CVE-2021-21288

ruby-carrierwave

Fixed versions: 1.3.2-1

Complete source record
{
  "id": "9597ed17c10d9665e5d1c79b2e5bf7e22a91f6abb6dbdad33f3c1b8e837a7fff",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-21288",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-21288",
    "summary": "CarrierWave is an open-source RubyGem which provides a simple and flexible way to upload files from Ruby applications. In CarrierWave before versions 1.3.2 and 2.1.1 the download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. This is fixed in versions 1.3.2 and 2.1.1.",
    "evidence": "osv:DEBIAN-CVE-2021-21288",
    "products": [
      {
        "name": {
          "value": "ruby-carrierwave",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.3.2-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-21288",
      "aliases": [
        "DEBIAN-CVE-2021-21288"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.3.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-carrierwave",
            "purl": "pkg:deb/debian/ruby-carrierwave?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-21288.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:11.690371562Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-21288"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-21288"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-21288",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 420761,
  "published_at": "2021-02-08T20:15:12.277+00:00"
}