{
  "cveId": "CVE-2023-49090",
  "url": "https://patchblox.com/security/cve/CVE-2023-49090",
  "summary": "CVE-2023-49090 is fixed in ruby-carrierwave on 1 platform, first by ruby-carrierwave 1.2.2-1ubuntu0.1~esm1, released November 29, 2023. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "ruby-carrierwave: CarrierWave is a solution for file uploads for Rails, Sinatra and other Ruby web frameworks",
  "description": "CarrierWave is a solution for file uploads for Rails, Sinatra and other Ruby web frameworks. CarrierWave has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in \u0060allowlisted_content_type?\u0060 determines Content-Type permissions by performing a partial match. If the \u0060content_type\u0060 argument of \u0060allowlisted_content_type?\u0060 is passed a value crafted by the attacker, Content-Types not included in the \u0060content_type_allowlist\u0060 will be allowed. This issue has been patched in versions 2.2.5 and 3.0.5.",
  "published": "2023-11-29T07:15:00Z",
  "severity": "Medium",
  "epss": 0.00613,
  "epssPercentile": 0.49633,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "ruby-carrierwave",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.2.2-1ubuntu0.1~esm1",
      "fix": "ruby-carrierwave 1.2.2-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-ruby-carrierwave-1.2.2-1ubuntu0.1-esm1",
      "released": "2023-11-29T07:15:00Z"
    },
    {
      "platform": "linux",
      "product": "ruby-carrierwave",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.3.1-2ubuntu0.1~esm1",
      "fix": "ruby-carrierwave 1.3.1-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-ruby-carrierwave-1.3.1-2ubuntu0.1-esm1",
      "released": "2023-11-29T07:15:00Z"
    },
    {
      "platform": "linux",
      "product": "ruby-carrierwave",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.3.2-2ubuntu0.22.04.1~esm1",
      "fix": "ruby-carrierwave 1.3.2-2ubuntu0.22.04.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-ruby-carrierwave-1.3.2-2ubuntu0.22.04.1-esm1",
      "released": "2023-11-29T07:15:00Z"
    },
    {
      "platform": "linux",
      "product": "ruby-carrierwave",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "1.3.2-2ubuntu0.24.04.1~esm1",
      "fix": "ruby-carrierwave 1.3.2-2ubuntu0.24.04.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-ruby-carrierwave-1.3.2-2ubuntu0.24.04.1-esm1",
      "released": "2023-11-29T07:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}