{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-29034","id":"CVE-2024-29034","title":"CarrierWave's Content-Type allowlist bypass vulnerability which possibly leads to XSS remained","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 provid","descriptionLong":"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.\n","published":"2024-03-24T19:27:35.996Z","updated":"2026-10-28T02:31:07.256517990Z","reserved":"2024-03-14T16:59:47.613Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["carrierwaveuploader carrierwave"],"affectedProducts":[{"vendor":"carrierwaveuploader","product":"carrierwave","defaultStatus":null,"versions":[{"version":">= 3.0.0, < 3.0.7","status":"affected"},{"version":"< 2.2.6","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"carrierwave","purl":"pkg:gem/carrierwave","ranges":[">=3.0.0 <3.0.7","<2.2.6"],"fixed":["3.0.7","2.2.6"],"advisory":"GHSA-vfmv-jfc5-pjjw"}],"cwes":["CWE-436","CWE-79"],"aliases":["GHSA-vfmv-jfc5-pjjw"],"references":[{"url":"https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-vfmv-jfc5-pjjw","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","advisory","web"]},{"url":"https://github.com/carrierwaveuploader/carrierwave/commit/25b1c800d45ef8e78dc445ebe3bd8a6e3f0a3477","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/29xxx/CVE-2024-29034.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29034","tags":["advisory"]},{"url":"https://github.com/carrierwaveuploader/carrierwave","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/carrierwave/CVE-2024-29034.yml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0044,"epssPercentile":0.3901,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-29034","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29034","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-29034","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vfmv-jfc5-pjjw","ok":true,"note":"GHSA-vfmv-jfc5-pjjw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-29034","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}