VDB
GHSA-2x8x-jmrp-phxw
GHSA-2x8x-jmrp-phxw
PUBLISHED
CVSS 8.800000190734863 HIGH
Sinatra vulnerable to Reflected File Download attack
Record from GitHub Advisory Database · Published November 30, 2022
sinatra is fixed in 3.0.4 and 2.2.3 (RubyGems)
Sinatra vulnerable to Reflected File Download attack
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| sinatra | RubyGems | 3.0.4, 2.2.3 |
Risk scores
CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| RubyGems | sinatra | 3.0, 2.0.0 |
Timeline
- Nov 30, 2022 CVE Published
- Apr 9, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-2x8x-jmrp-phxw
vulnetix vdb fixes GHSA-2x8x-jmrp-phxw
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-2x8x-jmrp-phxw/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b url
- https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf url
- https://nvd.nist.gov/vuln/detail/CVE-2022-45442 advisory
- https://github.com/advisories/GHSA-8x94-hmjh-97hq advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2022-45442.yml url
- https://github.com/sinatra/sinatra package
- https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html url
- https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw url
- https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html url