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.

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:*:*:*:*:*:*:*