Skip to main content
HIGH

CVE-2022-45442

CVSS v3

8.8

HIGH

EPSS Score

0.7 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for sinatra.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • sinatraRubyGemsfrom 2.0.0 · fixed in 2.2.3
  • pcsAlmaLinux:9all versions · fixed in 0.11.3-4.el9_1.2and 1 other package
  • pcsAlmaLinux:8all versions · fixed in 0.10.14-5.el8_7.2.almaand 1 other package

Vendor advisories

  • CVE-2022-45442 Red Hat Product Security93 products fixed · 2 known affected

    sinatra: Reflected File Download attack

    3scale-amp-backend-container as a component of Red Hat 3scale API Management Platform 2 · 3scale-amp-zync-container as a component of Red Hat 3scale API Management Platform 2

  • RHSA-2023:0974 Red Hat Product Security16 products fixed

    Red Hat Security Advisory: pcs security update

  • RHSA-2023:0857 Red Hat Product Security5 products fixed

    Red Hat Security Advisory: pcs security update

  • RHSA-2023:0855 Red Hat Product Security16 products fixed

    Red Hat Security Advisory: pcs security update

  • RHSA-2023:0527 Red Hat Product Security16 products fixed

    Red Hat Security Advisory: pcs security update

  • RHSA-2023:0506 Red Hat Product Security16 products fixed

    Red Hat Security Advisory: pcs security update

2 more advisories

Full record on 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.

Technical details

Published
2022-11-28

Frequently asked questions

What is CVE-2022-45442?

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.

Is CVE-2022-45442 actively exploited?

Active exploitation of CVE-2022-45442 has not been confirmed. Its EPSS score was 0.7% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-45442?

CVE-2022-45442 has a CVSS v3 base score of 8.8 (HIGH severity).

Running sinatra? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month