Security mailing lists by PureSourceCode

CVE-2024-29034

MEDIUM 6.1CVSS 3.1

CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained

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.

Published
24 Mar 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-436CWE-79
Also known as
GHSA-vfmv-jfc5-pjjw
Sources
NVDJSONOSV GHSA-vfmv-jfc5-pjjwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD carrierwave_project carrierwave
cpe:2.3:a:carrierwave_project:carrierwave:*:*:*:*:*:ruby:*:*
< 2.2.6 2.2.6
NVD carrierwave_project carrierwave
cpe:2.3:a:carrierwave_project:carrierwave:*:*:*:*:*:ruby:*:*
>= 3.0.0, < 3.0.7 3.0.7
OSV RubyGems carrierwave >= 3.0.0, < 3.0.7 3.0.7
OSV RubyGems carrierwave < 2.2.6 2.2.6

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 24 Mar 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.