CVE-2022-29970

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

Configuration 1 (hide)

cpe:2.3:a:sinatrarb:sinatra:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

04 Nov 2025, 16:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html -

Information

Published : 2022-05-02 05:15

Updated : 2025-11-04 16:15


NVD link : CVE-2022-29970

Mitre link : CVE-2022-29970

CVE.ORG link : CVE-2022-29970


JSON object : View

Products Affected

debian

  • debian_linux

sinatrarb

  • sinatra
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')