Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-k7su-xtsg-jyg9
Vulnerability ID VCID-k7su-xtsg-jyg9
Aliases CVE-2022-45442
GHSA-2x8x-jmrp-phxw
Summary Sinatra vulnerable to Reflected File Download attack ### Description 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. ### References * https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf * https://github.com/advisories/GHSA-8x94-hmjh-97hq
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
cvssv3 8.8 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-45442.json
epss 0.00317 https://api.first.org/data/v1/epss?cve=CVE-2022-45442
epss 0.00317 https://api.first.org/data/v1/epss?cve=CVE-2022-45442
epss 0.00317 https://api.first.org/data/v1/epss?cve=CVE-2022-45442
epss 0.00317 https://api.first.org/data/v1/epss?cve=CVE-2022-45442
epss 0.00317 https://api.first.org/data/v1/epss?cve=CVE-2022-45442
epss 0.00317 https://api.first.org/data/v1/epss?cve=CVE-2022-45442
epss 0.00317 https://api.first.org/data/v1/epss?cve=CVE-2022-45442
epss 0.00317 https://api.first.org/data/v1/epss?cve=CVE-2022-45442
cvssv3.1 7 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-2x8x-jmrp-phxw
cvssv3.1 8.8 https://github.com/advisories/GHSA-8x94-hmjh-97hq
generic_textual HIGH https://github.com/advisories/GHSA-8x94-hmjh-97hq
ssvc Track* https://github.com/advisories/GHSA-8x94-hmjh-97hq
cvssv3.1 8.8 https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2022-45442.yml
generic_textual HIGH https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2022-45442.yml
cvssv3.1 8.8 https://github.com/sinatra/sinatra
generic_textual HIGH https://github.com/sinatra/sinatra
cvssv3.1 8.8 https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
generic_textual HIGH https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
ssvc Track* https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
cvssv3 8.8 https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
cvssv3.1 8.8 https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
cvssv3.1_qr HIGH https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
generic_textual HIGH https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
ssvc Track* https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
cvssv3.1 8.8 https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html
generic_textual HIGH https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html
ssvc Track* https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html
cvssv3.1 8.8 https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html
generic_textual HIGH https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html
cvssv3.1 8.8 https://nvd.nist.gov/vuln/detail/CVE-2022-45442
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2022-45442
cvssv3.1 8.8 https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf
generic_textual HIGH https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf
ssvc Track* https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf
Reference id Reference type URL
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-45442.json
https://api.first.org/data/v1/epss?cve=CVE-2022-45442
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45442
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://github.com/advisories/GHSA-8x94-hmjh-97hq
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2022-45442.yml
https://github.com/sinatra/sinatra
https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html
https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html
https://nvd.nist.gov/vuln/detail/CVE-2022-45442
https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf
1025125 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025125
2153363 https://bugzilla.redhat.com/show_bug.cgi?id=2153363
GHSA-2x8x-jmrp-phxw https://github.com/advisories/GHSA-2x8x-jmrp-phxw
RHSA-2023:0393 https://access.redhat.com/errata/RHSA-2023:0393
RHSA-2023:0427 https://access.redhat.com/errata/RHSA-2023:0427
RHSA-2023:0506 https://access.redhat.com/errata/RHSA-2023:0506
RHSA-2023:0527 https://access.redhat.com/errata/RHSA-2023:0527
RHSA-2023:0855 https://access.redhat.com/errata/RHSA-2023:0855
RHSA-2023:0857 https://access.redhat.com/errata/RHSA-2023:0857
RHSA-2023:0974 https://access.redhat.com/errata/RHSA-2023:0974
USN-7664-1 https://usn.ubuntu.com/7664-1/
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-45442.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://github.com/advisories/GHSA-8x94-hmjh-97hq
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:40:06Z/ Found at https://github.com/advisories/GHSA-8x94-hmjh-97hq
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2022-45442.yml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://github.com/sinatra/sinatra
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:40:06Z/ Found at https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:40:06Z/ Found at https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:40:06Z/ Found at https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2022-45442
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:40:06Z/ Found at https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf
Exploit Prediction Scoring System (EPSS)
Percentile 0.54779
EPSS Score 0.00317
Published At April 2, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-04-01T13:07:01.753301+00:00 GithubOSV Importer Import https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-2x8x-jmrp-phxw/GHSA-2x8x-jmrp-phxw.json 38.0.0