Sinatrarb Sinatra vulnerabilities

5 known vulnerabilities affecting sinatrarb/sinatra.

Total CVEs
5
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH2MEDIUM2LOW1

Vulnerabilities

Page 1 of 1
CVE-2025-61921LOWCVSS 2.7fixed in 4.2.02025-10-10
CVE-2025-61921 [LOW] CWE-1333 CVE-2025-61921: Sinatra is a domain-specific language for creating web applications in Ruby. In versions prior to 4. Sinatra is a domain-specific language for creating web applications in Ruby. In versions prior to 4.2.0, there is a denial of service vulnerability in the `If-Match` and `If-None-Match` header parsing component of Sinatra, if the `etag` method is used when constructing the response. Carefully crafted input can cause `If-Match` and `If-None-Match` head
nvd
CVE-2022-45442HIGHCVSS 8.8≥ 2.0.0, < 2.2.3≥ 3.0.0, < 3.0.42022-11-28
CVE-2022-45442 [HIGH] CWE-494 CVE-2022-45442: Sinatra is a domain-specific language for creating web applications in Ruby. An issue was discovered 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
nvd
CVE-2022-29970HIGHCVSS 7.5fixed in 2.2.02022-05-02
CVE-2022-29970 [HIGH] CWE-22 CVE-2022-29970: Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
nvd
CVE-2018-11627MEDIUMCVSS 6.1fixed in 2.0.22018-05-31
CVE-2018-11627 [MEDIUM] CWE-79 CVE-2018-11627: Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception.
nvd
CVE-2018-7212MEDIUMCVSS 5.3v2.0.0v2.0.12018-02-18
CVE-2018-7212 [MEDIUM] CWE-22 CVE-2018-7212: An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x befo 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.
nvd