8.8

CVE-2022-45442: Sinatra vulnerable to Reflected File Download attack

Modified
AliasesMGASA-2023-0029RHSA-2023:0393RHSA-2023:0427
Published 28-11-2022Last modified 04-11-2025

Vulnerability summary

CVE-2022-45442 is a high (CVSS 8.8) Download of Code Without Integrity Check vulnerability in debian debian_linux. EPSS estimates a 0.87% chance of exploitation in the next 30 days, higher than 59.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.87%
0%100%
Low · +0.17 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 28-11-2022
    PublishedVulnerability first disclosed.
  2. 04-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.87%

Chance of exploitation in the next 30 days

Percentile

60%

Versus all other CVEs

30-day change

Increase +0.17 pp

From 0.69% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (blackhat.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
  • ruby-sinatra< 2.0.5-4+deb10u2 | < 3.0.5-2
  • debian_linuxEOL10.0
Redhat2 products
  • pcs< 0:0.10.4-6.el8_2.4 | < 0:0.10.12-6.el8_6.3 | < 0:0.10.8-1.el8_4.3 | < 0:0.11.1-10.el9_0.3 | < 0:0.10.14-5.el8_7.2 | < 0:0.10.2-4.el8_1.3 | < 0:0.11.3-4.el9_1.2
  • pcs-snmp< 0:0.10.4-6.el8_2.4 | < 0:0.10.12-6.el8_6.3 | < 0:0.10.8-1.el8_4.3 | < 0:0.11.1-10.el9_0.3 | < 0:0.10.14-5.el8_7.2 | < 0:0.10.2-4.el8_1.3 | < 0:0.11.3-4.el9_1.2
Mageia1 product
  • ruby-sinatra< 2.0.8.1-1.2.mga8
RubyGems1 product
  • sinatra≥ 3.0, < 3.0.4 | ≥ 2.0.0, < 2.2.3
Sinatra1 product
  • sinatra≥ 3.0, < 3.0.4 | ≥ 2.0, < 2.2.3
Sinatrarb1 product
  • sinatra≥ 2.0.0, < 2.2.3 | ≥ 3.0.0, < 3.0.4
Ubuntu1 product
  • ruby-sinatra< 1.4.7-3ubuntu0.1~esm2 | < 1.4.8-1ubuntu0.1~esm2 | < 2.0.8.1-2+deb11u1build0.22.04.1

7 vendors · 9 products

References

33 links
Show all 33 references