HIGH 8.8 RubyGems

Sinatra vulnerable to Reflected File Download attack

GHSA-2x8x-jmrp-phxw · CVE-2022-45442

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

Description

An issue was discovered in Sinatra 2.0 before 2.2.3 and 3.0 before 3.0.4. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a response when the filename is derived from user-supplied input.

References

Ready to move

Start Securing

Free, no credit card | First findings in minutes