CVE-2022-29970
Severity CVSS v4.0:
Pending analysis
Type:
CWE-22
Path Traversal
Publication date:
02/05/2022
Last modified:
04/11/2025
Description
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Base Score 2.0
5.00
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:sinatrarb:sinatra:*:*:*:*:*:*:*:* | 2.2.0 (excluding) | |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e
- https://lists.debian.org/debian-lts-announce/2022/10/msg00034.html
- https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e
- https://lists.debian.org/debian-lts-announce/2022/10/msg00034.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html



