HIGH 7.5 RubyGems

sinatra does not validate expanded path matches

GHSA-qp49-3pvw-x4m5 · CVE-2022-29970

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes