CVE-2022-45442
Sinatra vulnerable to Reflected File Download attack
02 Description
Sinatra vulnerable to Reflected File Download attack
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 0.69% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 52.5% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-11-28 00:00Z3 YR AGO
- Last updated
- 2025-11-04 16:09Z11 MO AGO
- Reserved
- 2022-11-15
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-494Download of Code Without Integrity CheckBase
- Data version
- 5.2
- Document digest
- 0a0682704c8c64331d6ad4aa10fa5265ff662108438f98851aa1bb0ea0716395
05 Affected products
06 References
- github.comhttps://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
- github.comhttps://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
- github.comhttps://github.com/advisories/GHSA-8x94-hmjh-97hq
- www.blackhat.comhttps://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf
- lists.debian.org[debian-lts-announce] 20230110 [SECURITY] [DLA 3264-1] ruby-sinatra security updatehttps://lists.debian.org/debian-lts-announce/2023/01/msg00005.html
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2024/09/msg00020.html
07 Fixed in
AlmaLinux 8
- pcs Fixed in 0.10.14-5.el8_7.2.alma
- pcs-snmp Fixed in 0.10.14-5.el8_7.2.alma
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- pcs Fixed in 0.11.3-4.el9_1.2
- pcs-snmp Fixed in 0.11.3-4.el9_1.2
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- pcs Fixed in 0.10.14-5.el8_7.2.alma
- pcs-snmp Fixed in 0.10.14-5.el8_7.2.alma
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- pcs Fixed in 0.11.3-4.el9_1.2
- pcs-snmp Fixed in 0.11.3-4.el9_1.2
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- ruby-sinatra Fixed in 3.0.5-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- ruby-sinatra Fixed in 3.0.5-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- ruby-sinatra Fixed in 3.0.5-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- ruby-sinatra Fixed in 2.0.8.1-2+deb11u1build0.22.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- ruby-sinatra Fixed in 1.4.7-3ubuntu0.1~esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- ruby-sinatra Fixed in 1.4.8-1ubuntu0.1~esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.