Description
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Published: 2022-05-02
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

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
History

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

Type Values Removed Values Added
References

Subscriptions

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