CVE-2022-45442

Sinatra vulnerable to Reflected File Download attack

HIGH
8.8
CVSS Score
Published: November 28, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 05:10 AM UTC
3 products affected across 3 vendorsDebian LinuxSinatraSinatra

Using sinatra by sinatra?

Get instant alerts when new vulnerabilities affect sinatra - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.7%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.0.0 ≤ v < 2.2.33.0.0 ≤ v < 3.0.4
Affected range stops below 2.2.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.0.4, so it looks safe — our inference, not a vendor statement
v < 2.2.3v < 3.0.4
Affected range stops below 2.2.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.0.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-494

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card