CVE-2022-29970

HIGH7.5EPSS 0.60%

sinatra does not validate expanded path matches

Published: 5/3/2022Modified: 11/4/2025
Also known as:GHSA-qp49-3pvw-x4m5

Description

Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.

Affected packages (4)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References (9)