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.

Project Subscriptions

Vendors Products
Debian Linux Subscribe
Enterprise Linux Subscribe
Rhel E4s Subscribe
Rhel Eus Subscribe
Rhel Tus Subscribe
Sinatrarb Subscribe
Sinatra Subscribe
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 04 Nov 2025 16:30:00 +0000

Type Values Removed Values Added
References

Tue, 22 Apr 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-11-04T16:09:56.861Z

Reserved: 2022-11-15T00:00:00.000Z

Link: CVE-2022-45442

cve-icon Vulnrichment

Updated: 2025-11-04T16:09:56.861Z

cve-icon NVD

Status : Modified

Published: 2022-11-28T21:15:10.670

Modified: 2025-11-04T16:15:52.733

Link: CVE-2022-45442

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-11-28T00:00:00Z

Links: CVE-2022-45442 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses