Path Traversal in Sinatrarb Sinatra
CVE-2022-29970
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.021 (81.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 81.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.022 · newest: 0.021 · change: -0.000
Affected products
- Sinatrarb Sinatra
- Debian Linux — versions 10.0
Weakness classification (CWE)
References
- github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948a… (Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/10/msg00034.html (mailing-list, Mailing List, Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2022-29970?
- CVE-2022-29970 is a high-severity vulnerability in Sinatrarb Sinatra, classified under Path Traversal. CVSS score: 7.5/10. Published 2022-05-02.
- How severe is CVE-2022-29970?
- High severity. CVSS v3 base score is 7.5 out of 10.