cve.bz

CVE-2022-29970

7.5 highEPSS 2.1%

High (7.5). EPSS 2.1% chance of exploitation in the next 30 days. Fixed in sinatra 2.2.0.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
2.1% chance of exploitation in the next 30 days; higher than 82% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qp49-3pvw-x4m5RubyGemssinatra<2.2.02.2.0

References

Check your stackJSON