Vulnerability Details : CVE-2022-45442
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.
Products affected by CVE-2022-45442
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:a:sinatrarb:sinatra:*:*:*:*:*:*:*:*
- cpe:2.3:a:sinatrarb:sinatra:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-45442
0.55%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 78 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-45442
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
GitHub, Inc. |
CWE ids for CVE-2022-45442
-
The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-45442
-
https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
Sinatra vulnerable to Reflected File Download attack · Advisory · sinatra/sinatra · GitHubThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html
[SECURITY] [DLA 3264-1] ruby-sinatra security updateMailing List;Third Party Advisory
-
https://github.com/advisories/GHSA-8x94-hmjh-97hq
Django vulnerable to Reflected File Download attack · CVE-2022-36359 · GitHub Advisory Database · GitHubNot Applicable
-
https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
escape filename in the Content-Disposition header · sinatra/sinatra@ea8fc94 · GitHubPatch;Third Party Advisory
-
https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf
Exploit;Third Party Advisory
Jump to