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

No history.

Information

Published : 2022-05-02 05:15

Updated : 2024-02-28 19:09


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')