CVE-2022-45442

Sinatra vulnerable to Reflected File Download attack

Published Nov 28, 2022 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3264-1 ruby-sinatra security update
Debian DLA Debian DLA DLA-3877-1 ruby-sinatra security update
EUVD EUVD EUVD-2022-7200 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.
Github GHSA Github GHSA GHSA-2x8x-jmrp-phxw Sinatra vulnerable to Reflected File Download attack
Ubuntu USN Ubuntu USN USN-7664-1 Sinatra vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 4, 2025, 4:09 PM
Reserved
Nov 15, 2022, 12:00 AM
Status
Modified
Published
Nov 28, 2022, 9:15 PM
Modified
Jun 17, 2026, 5:10 AM
Severity
Moderate
Public date
Nov 28, 2022, 12:00 AM