CVE-2022-45442

8.8 HIGH
Published: November 28, 2022 Modified: November 04, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/advisories/GHSA-8x94-hmjh-97hq
Source: security-advisories@github.com
Not Applicable
https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
Source: security-advisories@github.com
Patch Third Party Advisory
https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
Source: security-advisories@github.com
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html
Source: security-advisories@github.com
Mailing List Third Party Advisory
https://github.com/advisories/GHSA-8x94-hmjh-97hq
Source: af854a3a-2127-422b-91ae-364da2661108
Not Applicable
https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory

11 reference(s) from NVD

Quick Stats

CVSS v3 Score
8.8 / 10.0
EPSS (Exploit Probability)
0.3%
51th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

debian sinatrarb