🛡️ CVE-2022-45442 on Debian — ruby-sinatra
Description
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.
Distribution advisory
This page covers CVE-2022-45442 as tracked by Debian, for the package ruby-sinatra. The fix is available in version 3.0.5-2; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
DEBIAN-CVE-2022-45442 is classified as CWE-494: Download of Code Without Integrity Check. Code or updates are fetched and executed without verifying they are authentic and unmodified.
Affected software
DEBIAN-CVE-2022-45442 is recorded against 1 package.
- ruby-sinatra (fixed in 3.0.5-2)
Timeline and source
Published on 28 November 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-45442 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| ruby-sinatra | — | 3.0.5-2 |
References
Similar Threats
- Unknown USN-8624-1
- Unknown DEBIAN-CVE-2025-61921
- Unknown UBUNTU-CVE-2025-61921
- Unknown USN-7664-1
- Unknown DEBIAN-CVE-2024-21510
Site Security Check
Is ruby-sinatra part of your stack?
DEBIAN-CVE-2022-45442 is rated CVSS 8.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.