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)
EPSS: 0.022 (80.5th percentile) — read the EPSS interpretation.
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.
Affected products
- Sinatrarb Sinatra
- Debian Debian_linux — versions 10.0
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Patch, Third Party Advisory)
- cve@mitre.org (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.