{"id":"UBUNTU-CVE-2024-29034","details":"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.","modified":"2026-02-04T02:35:25.275006Z","published":"2024-03-24T20:15:00Z","withdrawn":"2025-06-23T15:58:12Z","related":["CVE-2024-29034"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-29034"},{"type":"REPORT","url":"https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-vfmv-jfc5-pjjw"},{"type":"REPORT","url":"https://github.com/carrierwaveuploader/carrierwave/commit/25b1c800d45ef8e78dc445ebe3bd8a6e3f0a3477"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-29034"}],"affected":[{"package":{"name":"ruby-carrierwave","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-carrierwave@0.10.0+gh-2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0+gh-1","0.10.0+gh-2"],"ecosystem_specific":{"ubuntu_priority":"medium"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29034.json"}},{"package":{"name":"ruby-carrierwave","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-carrierwave@1.2.2-1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0+gh-4","1.1.0-3","1.2.2-1"],"ecosystem_specific":{"ubuntu_priority":"medium"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29034.json"}},{"package":{"name":"ruby-carrierwave","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-carrierwave@1.3.1-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.1-2"],"ecosystem_specific":{"ubuntu_priority":"medium"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29034.json"}},{"package":{"name":"ruby-carrierwave","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-carrierwave@1.3.2-2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-2"],"ecosystem_specific":{"ubuntu_priority":"medium"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29034.json"}},{"package":{"name":"ruby-carrierwave","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-carrierwave@1.3.2-2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-2"],"ecosystem_specific":{"ubuntu_priority":"medium"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29034.json"}}],"schema_version":"1.7.3"}