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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2023-11-2915:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.0 | ≥ 3.0.0, < 3.0.5 | 3.0.5 | NVD · OSV |
| 2.2 | < 2.2.5 | 2.2.5 | NVD · OSV |
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 carrierwaveAffected
- = >= 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
Fix
- Update Carrierwave project carrierwave to 3.0.5 · 2.2.5
Advisories and patches
- github.comPatch
- github.comPatch
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- 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
- CGA-2c92-j8p5-6gwcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3ch4-cxgf-983msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3gvp-q73x-m2gcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3m5g-g578-w7w7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3p3q-px5r-hp43same flawChainguard · CC-BY-NC-ND-4.0
- CGA-44rx-c3rh-wp5vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-452v-c5fm-w6v3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-457g-7r43-42f6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-46cw-9jgx-9jx8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4h9m-rqff-5m8csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4qhv-6rf3-74j8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-52rv-pvcf-95h7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5cm5-w4f8-9c58same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5v9w-hfv9-cmrcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6jw7-wxhm-q59gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6mhq-j69h-vwjwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6qhh-xrh2-86mxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-76rc-h8wm-cv99same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7cj6-fr2v-5x33same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7fgg-c22f-6227same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7p9j-8pw4-4hh6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7ppx-mmw4-m5p6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8v8p-2j48-pcfjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9jg6-q53q-hj3gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-chx8-pm2q-c7cpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cm3w-x9p7-pw36same flawChainguard · CC-BY-NC-ND-4.0
- CGA-f544-jh9g-2633same flawChainguard · CC-BY-NC-ND-4.0
- CGA-f6w9-5vf9-cmh8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-ffh6-fq2g-8722same flawChainguard · CC-BY-NC-ND-4.0
- CGA-fv6c-9q67-q643same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g288-xww2-2qf7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g8qx-gvjx-rfxxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-g9mx-6w7p-hwqqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gjwm-p2gx-3p7jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gmwh-f7rr-mw86same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gpq5-xgw2-8jhcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gv94-g92g-p7w4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gx9j-hfx5-g6vhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-h22x-gwg9-x3r5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-h649-w84w-j5xpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-h6xx-h7rp-wg47same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hh32-x3qc-45w8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hh92-j439-r4w3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hhmr-7447-gpwgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hr68-r2pr-mc6csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hw8h-4pgc-94pwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jgcv-98hq-8v65same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jrj3-vxj6-mfhwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jrrp-jjgr-672xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jwf9-6h48-vm2msame flawChainguard · CC-BY-NC-ND-4.0
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?
Is CVE-2023-49090 actively exploited?
What is the CVSS score for CVE-2023-49090?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-gxhx-g4fq-49hj
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0