CVE-2023-49090

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2023-49090
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49090.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-49090
Aliases
Published
2023-11-29T15:15:08Z
Modified
2024-08-01T05:00:16.792345Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/carrierwaveuploader/carrierwave

Affected ranges

Type
GIT
Repo
https://github.com/carrierwaveuploader/carrierwave
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1.0
v0.10.0
v0.2.0
v0.2.1
v0.2.3
v0.2.4
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.4.4
v0.4.5
v0.5.0
v0.5.0.beta2
v0.5.1
v0.5.2
v0.5.3
v0.5.5
v0.5.6
v0.5.7
v0.5.8
v0.6.0
v0.6.1
v0.6.2
v0.7.0
v0.7.1
v0.8.0

v1.*

v1.0.0
v1.0.0.beta
v1.0.0.rc
v1.1.0
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.3.0
v1.3.1

v2.*

v2.0.0
v2.0.0.rc
v2.0.1
v2.0.2
v2.1.0
v2.2.0
v2.2.1
v2.2.2
v2.2.3
v2.2.4

v3.*

v3.0.0
v3.0.0.beta
v3.0.0.rc
v3.0.1
v3.0.2
v3.0.3
v3.0.4