CVE-2022-45442

Summary

CVECVE-2022-45442
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-11-28 21:15:00 UTC
Updated2023-02-01 15:47:00 UTC
DescriptionSinatra 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.

Risk And Classification

Problem Types: CWE-494

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Application Sinatrarb Sinatra All All All All

References

ReferenceSourceLinkTags
Sinatra vulnerable to Reflected File Download attack · Advisory · sinatra/sinatra · GitHub CONFIRM github.com
Django 3.2 before 3.2.15 and 4.0 before 4.0.7 vulnerable to Reflected File Download attack · CVE-2022-36359 · GitHub Advisory Database · GitHub MISC github.com
escape filename in the Content-Disposition header · sinatra/sinatra@ea8fc94 · GitHub MISC github.com
[SECURITY] [DLA 3264-1] ruby-sinatra security update MLIST lists.debian.org
www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-Ne... MISC www.blackhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 160474 Oracle Enterprise Linux Security Update for pcs (ELSA-2023-12137)
  • 160493 Oracle Enterprise Linux Security Update for pcs (ELSA-2023-12150)
  • 181463 Debian Security Update for ruby-sinatra (DLA 3264-1)
  • 182966 Debian Security Update for ruby-sinatra (CVE-2022-45442)
  • 241129 Red Hat Update for pcs (RHSA-2023:0427)
  • 241146 Red Hat Update for pcs (RHSA-2023:0527)
  • 241148 Red Hat Update for pcs (RHSA-2023:0506)
  • 241206 Red Hat Update for pcs (RHSA-2023:0855)
  • 241225 Red Hat Update for pcs (RHSA-2023:0974)
  • 241612 Red Hat Update for pcs (RHSA-2023:0393)
  • 241659 Red Hat Update for pcs (RHSA-2023:0857)
  • 940933 AlmaLinux Security Update for pcs (ALSA-2023:0855)
  • 940951 AlmaLinux Security Update for pcs (ALSA-2023:0974)
  • 960662 Rocky Linux Security Update for pcs (RLSA-2023:0855)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report