cve.bz

CVE-2022-45442

8.8 highEPSS 0.7%

High (8.8). EPSS 0.7% chance of exploitation in the next 30 days. Fixed in sinatra 2.2.3, 3.0.4.

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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.7% chance of exploitation in the next 30 days; higher than 52% of CVEs (scores of 2026-10-31)
CWE
CWE-494
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2x8x-jmrp-phxwRubyGemssinatra>=3.0 <3.0.43.0.4
GHSA-2x8x-jmrp-phxwRubyGemssinatra>=2.0.0 <2.2.32.2.3

References

Check your stackJSON