CVE & CISA-KEV Catalog

CVE-2022-45442

HIGH
8.8
CVSS v3
NVD

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.

How to fix

Remediation Available
ruby-sinatraDebian
Fixed in:2.0.8.1-2+deb11u1CVE-2022-45442
Fixed in:3.0.5-2CVE-2022-45442
Fixed in:3.0.5-2CVE-2022-45442
Fixed in:3.0.5-2CVE-2022-45442
ruby-sinatraUbuntu
Fixed in:1.4.7-3ubuntu0.1~esm2USN-7664-1
Fixed in:1.4.8-1ubuntu0.1~esm2USN-7664-1
Fixed in:2.0.8.1-1ubuntu0.1~esm2USN-7664-1
Fixed in:2.0.8.1-2+deb11u1build0.22.04.1USN-7664-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

0.64%probability of exploitation in 30 days
46thpercentile

Moderate risk: more likely to be exploited than 46% of all known CVEs.

References

Exploit1
Third-Party Advisory2
Embed a live status badge for CVE-2022-45442
CVE-2022-45442 severity badge

Markdown

[![CVE-2022-45442](https://tridentstack.com/cve/badge/CVE-2022-45442.svg)](https://tridentstack.com/cve/CVE-2022-45442)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-45442"><img src="https://tridentstack.com/cve/badge/CVE-2022-45442.svg" alt="CVE-2022-45442"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-04.