Download of Code Without Integrity Check
Sinatra is a domain-specific language for creating web applications in Ruby. An issue was discovered in Sinatra prior to 2.2.3, and 3.0 prior to 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.
CWE-494 - Download of Code Without Integrity Check
The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.