Vulnerabilities
Vulnerable Software
Sinatrarb:  Security Vulnerabilities
Sinatra is a domain-specific language for creating web applications in Ruby. 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. Version 2.2.3 and 3.0.4 contain patches for this issue.
CVSS Score
8.8
EPSS Score
0.001
Published
2022-11-28
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
CVSS Score
7.5
EPSS Score
0.005
Published
2022-05-02
Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception.
CVSS Score
6.1
EPSS Score
0.004
Published
2018-05-31
Sinatra rack-protection versions 1.5.4 and 2.0.0.rc3 and earlier contains a timing attack vulnerability in the CSRF token checking that can result in signatures can be exposed. This attack appear to be exploitable via network connectivity to the ruby application. This vulnerability appears to have been fixed in 1.5.5 and 2.0.0.
CVSS Score
5.9
EPSS Score
0.004
Published
2018-03-07
An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters.
CVSS Score
5.3
EPSS Score
0.003
Published
2018-02-18


Contact Us

Shodan ® - All rights reserved