Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Sinatrarb | Sinatra | >= 2.0.0, < 2.2.3 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://github.com/advisories/GHSA-8x94-hmjh-97hqNot Applicable
- https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f36PatchThird Party Advisory
- https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxwThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00005.htmlMailing ListThird Party Advisory
- https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-DownloaExploitThird Party Advisory
- https://github.com/advisories/GHSA-8x94-hmjh-97hqNot Applicable
- https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f36PatchThird Party Advisory
- https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxwThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00005.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html
- https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-DownloaExploitThird Party Advisory
FAQ
What is CVE-2022-45442?
CVE-2022-45442 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 ...
How severe is CVE-2022-45442?
CVE-2022-45442 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-45442?
Check the references section above for vendor advisories and patch information. Affected products include: Sinatrarb Sinatra, Debian Debian Linux.