Skip to main content
No exploitation reportedFix available

CVE-2023-49090

No exploitation reported by the sources we read.

  • Published2023-11-29
  • Fixed in3.0.5 · 2.2.5
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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 `allowlisted_content_type?` determines Content-Type permissions by performing a partial match. If the `content_type` argument of `allowlisted_content_type?` is passed a value crafted by the attacker, Content-Types not included in the `content_type_allowlist` will be allowed. This issue has been patched in versions 2.2.5 and 3.0.5.

Timeline

dates in UTC
  1. 2023-11-2915:15CVE publishedNVD

Versions per branch

NVD · OSV
Carrierwave project carrierwave
BranchAffectedFixed in
3.0≥ 3.0.0, < 3.0.53.0.5
2.2< 2.2.52.2.5

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • carrierwaveuploader carrierwave
    Affected
    • = >= 2.2.0, < 2.2.5no fix stated
    • = >= 3.0.0, < 3.0.5no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2023-11-29

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • gitlab-rails-ce-18.1Chainguardall versions · no fixed version listedand 41 other packages
  • ruby-carrierwaveUbuntu:Pro:24.04:LTSall versions · fixed in 1.3.2-2ubuntu0.24.04.1~esm1
  • ruby-carrierwaveUbuntu:Pro:22.04:LTSall versions · fixed in 1.3.2-2ubuntu0.22.04.1~esm1
  • ruby-carrierwaveUbuntu:Pro:20.04:LTSall versions · fixed in 1.3.1-2ubuntu0.1~esm1
  • ruby-carrierwaveUbuntu:Pro:18.04:LTSall versions · fixed in 1.2.2-1ubuntu0.1~esm1
  • ruby-carrierwaveDebian:12all versions · no fixed version listed

Full record on NVD

Fix

  1. Update Carrierwave project carrierwave to 3.0.5 · 2.2.5

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2024-10-11
  • CNACVSS 3.16.8known since 2026-10-23
  • NVDCVSS 3.16.1read 2026-10-23
  • CNAweakness (CWE)CWE-79known since 2026-10-23
  • FIRST EPSSEPSS score0.7 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryModerate2023-11-29

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
2023-11-29
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-gxhx-g4fq-49hj

Frequently asked questions

What is CVE-2023-49090?

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 `allowlisted_content_type?` determines Content-Type permissions by performing a partial match. If the `content_type` argument of `allowlisted_content_type?` is passed a value crafted by the attacker, Content-Types not included in the `content_type_allowlist` will be allowed. This issue has been patched in versions 2.2.5 and 3.0.5.

Is CVE-2023-49090 actively exploited?

Active exploitation of CVE-2023-49090 has not been confirmed. Its EPSS score was 0.7% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-49090?

CVE-2023-49090 has a CVSS v3 base score of 6.1 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Running carrierwave? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record