
CVE catalog
CVE-2022-45442
ruby-sinatra: CVE-2022-45442
- Severity
- High · CVSS 8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.69% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-sinatra | sid | 4.2.1-5 | fixed |
| Debian | ruby-sinatra | forky | 4.2.1-5 | fixed |
| Debian | ruby-sinatra | trixie | 4.1.1-5 | fixed |
| Debian | ruby-sinatra | bookworm | 3.0.5-3+deb12u1 | fixed |
| Ubuntu | ruby-sinatra | pro | 1.4.7-5 | vulnerable |
| Ubuntu | ruby-sinatra | pro | 1.4.8-1 | vulnerable |
| Ubuntu | ruby-sinatra | pro | 1.4.8-1ubuntu0.1~esm2 | fixed |
| Ubuntu | ruby-sinatra | 22.04 | 2.0.8.1-2 | vulnerable |
| Ubuntu | ruby-sinatra | 22.04 | 2.0.8.1-2+deb11u1build0.22.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-sinatra | source | sid | 3.0.5-2 | not yet assigned | Not reported | [1025125] |
| Debian | ruby-sinatra | source | forky | 3.0.5-2 | not yet assigned | Not reported | [1025125] |
| Debian | ruby-sinatra | source | trixie | 3.0.5-2 | not yet assigned | Not reported | [1025125] |
| Debian | ruby-sinatra | source | bookworm | 3.0.5-2 | not yet assigned | Not reported | [1025125] |
| Ubuntu | ruby-sinatra | deb | pro | 1.4.8-1ubuntu0.1~esm2 | Not reported | UBUNTU-CVE-2022-45442 | Not reported |
| Ubuntu | ruby-sinatra | deb | 22.04 | 2.0.8.1-2+deb11u1build0.22.04.1 | Not reported | UBUNTU-CVE-2022-45442 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-rack-protection]Fixed
Source package: [ruby-sinatra]
Details (2)
3.0.5-3+deb12u1· all · bookwormFixed · Fixed:
3.0.5-2dsa · ruby-sinatra · debian · bookworm
3.0.5-3+deb12u1· all · bookwormFixed · Fixed:
3.0.5-2dsa · ruby-sinatra · debian · bookworm
- [ruby-sinatra]Fixed
Details (2)
3.0.5-3+deb12u1· all · bookwormFixed · Fixed:
3.0.5-2dsa · ruby-sinatra · debian · bookworm
3.0.5-3+deb12u1· all · bookwormFixed · Fixed:
3.0.5-2dsa · ruby-sinatra · debian · bookworm
- [ruby-sinatra-contrib]Fixed
Source package: [ruby-sinatra]
Details (2)
3.0.5-3+deb12u1· all · bookwormFixed · Fixed:
3.0.5-2dsa · ruby-sinatra · debian · bookworm
3.0.5-3+deb12u1· all · bookwormFixed · Fixed:
3.0.5-2dsa · ruby-sinatra · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_0855.json]
- [https://osv.dev/vulnerability/DLA-3264-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-45442]
- [https://security-tracker.debian.org/tracker/CVE-2022-45442]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-45442.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0186.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]