CVE-2022-45442 - CVE House
Back to Database
Status published High CVE-2022-45442

Sinatra vulnerable to Reflected File Download attack

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-45442

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

sinatra
Vulnerable Versions:
>= 3.0, < 3.0.4, >= 2.0, < 2.2.3

Timeline

Official Publish: November 28th, 2022
Last Modified: November 4th, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses (CWE)

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.