UBUNTU-CVE-2023-49090

Source
https://ubuntu.com/security/CVE-2023-49090
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-49090.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-49090
Related
Published
2023-11-29T15:15:00Z
Modified
2024-10-15T14:11:50Z
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

Ubuntu:Pro:16.04:LTS / ruby-carrierwave

Package

Name
ruby-carrierwave
Purl
pkg:deb/ubuntu/ruby-carrierwave?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.10.0+gh-1
0.10.0+gh-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / ruby-carrierwave

Package

Name
ruby-carrierwave
Purl
pkg:deb/ubuntu/ruby-carrierwave?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.10.0+gh-4

1.*

1.1.0-3
1.2.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / ruby-carrierwave

Package

Name
ruby-carrierwave
Purl
pkg:deb/ubuntu/ruby-carrierwave?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.3.1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / ruby-carrierwave

Package

Name
ruby-carrierwave
Purl
pkg:deb/ubuntu/ruby-carrierwave?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.3.2-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / ruby-carrierwave

Package

Name
ruby-carrierwave
Purl
pkg:deb/ubuntu/ruby-carrierwave?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.3.2-2

3.*

3.0.7-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / ruby-carrierwave

Package

Name
ruby-carrierwave
Purl
pkg:deb/ubuntu/ruby-carrierwave?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.3.2-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}