ruby-carrierwave — security advisory
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.
- Products
- ruby-carrierwave
- Affected versions
- 1.3.2-2, 2.0.2-1, 2.2.2-1, 3.0.7-1
- Fixed versions
- Not specified
- CVEs
- CVE-2023-49090
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 16:26 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2023-49090
ruby-carrierwave
Fixed versions: Not specified
Complete source record
{
"id": "dd625e0eace48d34c7cd576adc07784eeeb33bd85e4f7262a8c4ad148a43a5d2",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-49090",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2023-49090",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2023-49090",
"products": [
{
"name": {
"value": "ruby-carrierwave",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.2-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.0.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.0.7-1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2023-49090",
"aliases": [
"DEBIAN-CVE-2023-49090"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ruby-carrierwave",
"purl": "pkg:deb/debian/ruby-carrierwave?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.3.2-2",
"2.0.2-1",
"2.2.2-1",
"3.0.7-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-49090.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T18:03:07.541930562Z",
"provider": "osv",
"upstream": [
"CVE-2023-49090"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2023-49090"
]
},
"related_cves": [
{
"value": "CVE-2023-49090",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 457740,
"published_at": "2023-11-29T15:15:08.9+00:00"
}