Skip to main content
No exploitation reportedFix available

CVE-2024-29034

No exploitation reported by the sources we read.

  • Published2024-03-24
  • Fixed in3.0.7 · 2.2.6
  • WeaknessCWE-436 · CWE-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. The vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by `content_type_allowlist`, by providing multiple values separated by commas. This bypassed value can be used to cause XSS. Upgrade to 3.0.7 or 2.2.6.

Timeline

dates in UTC
  1. 2024-03-2420:15CVE publishedNVD

Versions per branch

NVD · OSV
Carrierwave project carrierwave
BranchAffectedFixed in
3.0≥ 3.0.0, < 3.0.73.0.7
2.2< 2.2.62.2.6

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
    • = >= 3.0.0, < 3.0.7no fix stated
    • = < 2.2.6no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-03-24

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

Full record on NVD

Fix

  1. Update Carrierwave project carrierwave to 3.0.7 · 2.2.6

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-08-01
  • CNACVSS 3.16.8known since 2026-10-23
  • NVDCVSS 3.16.1read 2026-10-23
  • CNAweakness (CWE)CWE-436, CWE-79known since 2026-10-23
  • NVDweakness (CWE)CWE-79read 2026-10-23
  • FIRST EPSSEPSS score0.4 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryModerate2024-03-25

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
2024-03-24
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-vfmv-jfc5-pjjw

Frequently asked questions

What is CVE-2024-29034?

CarrierWave is a solution for file uploads for Rails, Sinatra and other Ruby web frameworks. The vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by `content_type_allowlist`, by providing multiple values separated by commas. This bypassed value can be used to cause XSS. Upgrade to 3.0.7 or 2.2.6.

Is CVE-2024-29034 actively exploited?

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

What is the CVSS score for CVE-2024-29034?

CVE-2024-29034 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