Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3166-1 | ruby-sinatra security update |
Debian DLA |
DLA-3877-1 | ruby-sinatra security update |
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 |
GHSA-qp49-3pvw-x4m5 | sinatra does not validate expanded path matches |
Ubuntu USN |
USN-7664-1 | Sinatra vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 04 Nov 2025 16:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2025-11-04T16:09:45.370Z
Reserved: 2022-05-02T00:00:00.000Z
Link: CVE-2022-29970
No data.
Status : Modified
Published: 2022-05-02T05:15:06.767
Modified: 2025-11-04T16:15:49.367
Link: CVE-2022-29970
OpenCVE Enrichment
No data.
Debian DLA
EUVD
Github GHSA
Ubuntu USN