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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-494"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45442.json"
}{
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.2.3"
},
{
"introduced": "3.0.0"
},
{
"fixed": "3.0.4"
}
],
"cpe": "cpe:2.3:a:sinatrarb:sinatra:*:*:*:*:*:*:*:*"
}