Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-3166-1 ruby-sinatra security update
Debian DLA Debian DLA DLA-3877-1 ruby-sinatra security update
EUVD EUVD EUVD-2022-5007 Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Github GHSA Github GHSA GHSA-qp49-3pvw-x4m5 sinatra does not validate expanded path matches
Ubuntu USN Ubuntu USN USN-7664-1 Sinatra vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T06:40:46.385Z

Reserved: 2022-05-02T00:00:00

Link: CVE-2022-29970

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-05-02T05:15:06.767

Modified: 2024-11-21T07:00:05.400

Link: CVE-2022-29970

cve-icon Redhat

Severity : Important

Publid Date: 2022-05-02T00:00:00Z

Links: CVE-2022-29970 - Bugzilla

cve-icon OpenCVE Enrichment

No data.