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

Project Subscriptions

Vendors Products
Debian Linux Subscribe
Enterprise Linux Subscribe
Rhel E4s Subscribe
Rhel Eus Subscribe
Satellite Subscribe
Satellite Capsule Subscribe
Sinatrarb Subscribe
Sinatra Subscribe
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

Tue, 04 Nov 2025 16:30:00 +0000

Type Values Removed Values Added
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-11-04T16:09:45.370Z

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

Link: CVE-2022-29970

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2025-11-04T16:15:49.367

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.

Weaknesses