UBUNTU-CVE-2022-45442

Source
https://ubuntu.com/security/CVE-2022-45442
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-45442.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-45442
Related
Published
2022-11-28T21:15:00Z
Modified
2024-10-15T14:10:17Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Sinatra is a domain-specific language for creating web applications in Ruby. An issue was discovered in Sinatra 2.0 before 2.2.3 and 3.0 before 3.0.4. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a response when the filename is derived from user-supplied input. Version 2.2.3 and 3.0.4 contain patches for this issue.

References

Affected packages

Ubuntu:Pro:16.04:LTS / ruby-sinatra

Package

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

Affected ranges

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

Affected versions

1.*

1.4.6-2
1.4.7-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / ruby-sinatra

Package

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

Affected ranges

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

Affected versions

1.*

1.4.7-5
1.4.8-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / ruby-sinatra

Package

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

Affected ranges

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

Affected versions

2.*

2.0.5-4ubuntu1
2.0.8.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / ruby-sinatra

Package

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

Affected ranges

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

Affected versions

2.*

2.0.8.1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / ruby-sinatra

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.5-3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.0.5-3",
            "binary_name": "ruby-rack-protection"
        },
        {
            "binary_version": "3.0.5-3",
            "binary_name": "ruby-sinatra"
        },
        {
            "binary_version": "3.0.5-3",
            "binary_name": "ruby-sinatra-contrib"
        }
    ]
}