What’s Vulnerable › Vulnerabilities

CVE-2022-29970

Description

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

Affected products

How to fix

Upgrade to a fixed version: sinatra 2.2.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-29970 or the next vulnerability affects your stack