{ "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-45442", "STATE": "PUBLIC", "TITLE": "Sinatra vulnerable to Reflected File Download attack" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "sinatra", "version": { "version_data": [ { "version_value": ">= 3.0, < 3.0.4" }, { "version_value": ">= 2.0, < 2.2.3" } ] } } ] }, "vendor_name": "sinatra" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-494: Download of Code Without Integrity Check" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw", "refsource": "CONFIRM", "url": "https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw" }, { "name": "https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b", "refsource": "MISC", "url": "https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b" }, { "name": "https://github.com/advisories/GHSA-8x94-hmjh-97hq", "refsource": "MISC", "url": "https://github.com/advisories/GHSA-8x94-hmjh-97hq" }, { "name": "https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf", "refsource": "MISC", "url": "https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf" }, { "refsource": "MLIST", "name": "[debian-lts-announce] 20230110 [SECURITY] [DLA 3264-1] ruby-sinatra security update", "url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html" } ] }, "source": { "advisory": "GHSA-2x8x-jmrp-phxw", "discovery": "UNKNOWN" } }