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.
CVE-2022-45442
This high-severity CVE scores 8.8 under NVD CVSS v3. EPSS exploit probability: 0.6%, top 53% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EG Risk
- 56(Track*)EG Risk 56/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 1%
- EPSS %ILE
- 50%
- KEV
- Not listed
Published
November 28, 2022
Last Modified
November 4, 2025
Advisory Details (6)
Auto-updated Aug 19, 2026[SECURITY] [DLA 3877-1] ruby-sinatra security update
https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html[SECURITY] [DLA 3264-1] ruby-sinatra security update
https://lists.debian.org/debian-lts-announce/2023/01/msg00005.htmlSinatra vulnerable to Reflected File Download attack · Advisory · sinatra/sinatra · GitHub
https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxwcommit ea8fc9495a35 (sinatra/sinatra)
Fix landed in sinatra/sinatra commit ea8fc9495a35 — awaiting tagged release
https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363bDjango vulnerable to Reflected File Download attack · CVE-2022-36359 · GitHub Advisory Database · GitHub
https://github.com/advisories/GHSA-8x94-hmjh-97hqPatch Availability(8)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | ruby-sinatra (1.4.7-3ubuntu0.1~esm2) @ xenial | 2026-05-25 | ubuntu |
| redhat | pcs-0:0.11.3-4.el9_1.2 | 2023-02-28 | redhat |
| redhat | pcs-0:0.10.2-4.el8_1.3 | 2023-02-21 | redhat |
| redhat | pcs-0:0.10.14-5.el8_7.2 | 2023-02-21 | redhat |
| redhat | pcs-0:0.10.8-1.el8_4.3 | 2023-01-30 | redhat |
| redhat | pcs-0:0.11.1-10.el9_0.3 | 2023-01-30 | redhat |
| redhat | pcs-0:0.10.12-6.el8_6.3 | 2023-01-24 | redhat |
| redhat | pcs-0:0.10.4-6.el8_2.4 | 2023-01-24 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(6 across 6 ecosystems)
Debian:10(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ruby-sinatra | 2.0.5-4, 2.0.5-4+deb10u1 | 2.0.5-4+deb10u2 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ruby-sinatra | 2.0.8.1-2 | 2.0.8.1-2+deb11u1 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ruby-sinatra | — | 3.0.5-2 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ruby-sinatra | — | 3.0.5-2 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ruby-sinatra | — | 3.0.5-2 | — |
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| sinatra | 2.0.0 ... 2.2.2 (15 versions) | 2.2.3 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(8)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2023:0393MODERATE2022-11-28
RHSA-2023:0393 — Moderate
- Red HatRHSA-2023:0427MODERATE2022-11-28
RHSA-2023:0427 — Moderate
- Red HatRHSA-2023:0506MODERATE2022-11-28
RHSA-2023:0506 — Moderate
- Red HatRHSA-2023:0527MODERATE2022-11-28
RHSA-2023:0527 — Moderate
- Red HatRHSA-2023:0855MODERATE2022-11-28
RHSA-2023:0855 — Moderate
- Red HatRHSA-2023:0857MODERATE2022-11-28
RHSA-2023:0857 — Moderate
- Red HatRHSA-2023:0974MODERATE2022-11-28
RHSA-2023:0974 — Moderate
- UbuntuUSN-7664-1MEDIUM
Sinatra vulnerabilities
Data Freshness Timeline
(refreshed 5× in last 7d / 27× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 161 total refreshes for this CVE.
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-16 05:10 UTCEPSS rescore
- 2026-09-15 03:07 UTCEPSS rescore
- 2026-09-13 16:44 UTCEPSS rescore
- 2026-09-12 14:57 UTCEPSS rescore
- 2026-09-11 14:50 UTCEPSS rescore
- 2026-09-11 09:33 UTCEPSS rescore
- 2026-09-08 21:57 UTCEPSS rescore
- 2026-09-07 15:58 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-04 22:24 UTCOSV refresh
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 05:04 UTCEPSS rescore
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-01 13:51 UTCEPSS rescore
- 2026-08-30 19:15 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:38 UTCEPSS rescore
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-25 13:46 UTCEPSS rescore
- 2026-08-24 14:13 UTCEPSS rescore
- 2026-08-23 00:17 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-20 22:53 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-18 13:45 UTCEPSS rescore
- 2026-08-18 09:34 UTCOSV refresh
- 2026-08-17 13:44 UTCEPSS rescore
- 2026-08-16 14:53 UTCEPSS rescore
- 2026-08-16 14:53 UTCEPSS rescore
- 2026-08-16 02:12 UTCEPSS rescore
- 2026-08-15 01:27 UTCEPSS rescore
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-11 13:39 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-08 16:34 UTCEPSS rescore
- 2026-08-07 16:24 UTCEPSS rescore
- 2026-08-06 13:44 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-04 15:07 UTCEPSS rescore
- 2026-08-04 10:35 UTCEPSS rescore
- 2026-08-03 10:33 UTCEPSS rescore
- 2026-08-03 04:57 UTCOSV refresh
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 02:15 UTCEG score recompute
- 2026-07-22 23:02 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 14:19 UTCOSV refresh
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-02 16:58 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 12:49 UTCOSV refresh
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
Frequently asked(5)
What is CVE-2022-45442?
When was CVE-2022-45442 disclosed?
Is CVE-2022-45442 actively exploited?
What is the CVSS score of CVE-2022-45442?
How do I remediate CVE-2022-45442?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-45442
Is Your Infrastructure Affected by CVE-2022-45442?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.