CVE-2022-45442
Last modified
CVE-2022-45442 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.64% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sinatrarb | Sinatra | >= 2.0.0, < 2.2.3 |
| Sinatrarb | Sinatra | >= 3.0.0, < 3.0.4 |
| Debian | Debian Linux | 10.0 |
References
- https://github.com/advisories/GHSA-8x94-hmjh-97hqNot Applicable
- https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363bPatch, Third 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 List, Third Party Advisory
- https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdfExploit, Third Party Advisory
- https://github.com/advisories/GHSA-8x94-hmjh-97hqNot Applicable
- https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363bPatch, Third 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 List, Third Party Advisory
- https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdfExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-45442?
How severe is CVE-2022-45442?
How do I fix CVE-2022-45442?
Are you affected by CVE-2022-45442?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
