CVE-2022-45442
Publication date 28 November 2022
Last updated 22 July 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
ruby-sinatra | 25.04 plucky |
Not affected
|
24.04 LTS noble |
Not affected
|
|
22.04 LTS jammy |
Fixed 2.0.8.1-2+deb11u1build0.22.04.1
|
|
20.04 LTS focal |
Fixed 2.0.8.1-1ubuntu0.1~esm2
|
|
18.04 LTS bionic |
Fixed 1.4.8-1ubuntu0.1~esm2
|
|
16.04 LTS xenial |
Fixed 1.4.7-3ubuntu0.1~esm2
|
|
14.04 LTS trusty | Ignored end of standard support |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
Parameter | Value |
---|---|
Base score |
|
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-7664-1
- Sinatra vulnerabilities
- 22 July 2025
Other references
- https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
- https://github.com/advisories/GHSA-8x94-hmjh-97hq
- https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
- https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf
- https://www.cve.org/CVERecord?id=CVE-2022-45442