Skip to main content

Sinatra

6 CVEs product

Monthly

CVE-2025-61921 Oct 10, 20:15 Ruby LOW POC PATCH Monitor

Denial of service in Sinatra versions prior to 4.2.0 allows unauthenticated remote attackers to consume excessive CPU time by sending crafted If-Match or If-None-Match headers to endpoints that call the etag helper, potentially degrading availability. Exploitation is constrained: the application must use the etag method and run on Ruby below 3.2, because Ruby 3.2+ corrected the regex behavior that enables catastrophic backtracking. Publicly available exploit code exists and EPSS is approximately 0.5% at the 41st percentile; the issue is not in CISA KEV. Assessed severity is low, with CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Denial Of Service Ruby Sinatra
NVD GitHub
CVSS 4.0
2.7
EPSS
0.5%
CVE-2024-37116 Jul 22, 10:15 MEDIUM This Month

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in sinatrateam Sinatra allows Stored XSS.3. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

XSS Sinatra
NVD
CVSS 3.1
5.4
EPSS
0.3%
CVE-2022-45442 Nov 28, 21:15 Ruby HIGH POC PATCH This Week

Sinatra is a domain-specific language for creating web applications in Ruby. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Information Disclosure Debian Debian Linux Sinatra Sinatrarb
NVD GitHub
CVSS 3.1
8.8
EPSS
0.6%
CVE-2022-29970 May 02, 05:15 Ruby HIGH PATCH This Week

Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Path Traversal vulnerability could allow attackers to access files and directories outside the intended path.

Path Traversal Debian Debian Linux Sinatra Sinatrarb
NVD VulDB GitHub
CVSS 3.1
7.5
EPSS
2.1%
CVE-2018-11627 May 31, 19:29 Ruby MEDIUM POC PATCH This Month

Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

XSS Red Hat Cloudforms Sinatra Sinatrarb
NVD GitHub
CVSS 3.0
6.1
EPSS
2.2%
CVE-2018-7212 Feb 18, 06:29 Ruby MEDIUM PATCH This Month

An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Path Traversal Microsoft Sinatra Sinatrarb
NVD GitHub
CVSS 3.0
5.3
EPSS
1.9%
EPSS 0% CVSS 2.7
LOW POC PATCH Monitor

Denial of service in Sinatra versions prior to 4.2.0 allows unauthenticated remote attackers to consume excessive CPU time by sending crafted If-Match or If-None-Match headers to endpoints that call the etag helper, potentially degrading availability. Exploitation is constrained: the application must use the etag method and run on Ruby below 3.2, because Ruby 3.2+ corrected the regex behavior that enables catastrophic backtracking. Publicly available exploit code exists and EPSS is approximately 0.5% at the 41st percentile; the issue is not in CISA KEV. Assessed severity is low, with CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Denial Of Service Ruby Sinatra
NVD GitHub
EPSS 0% CVSS 5.4
MEDIUM This Month

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in sinatrateam Sinatra allows Stored XSS.3. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

XSS Sinatra
NVD
EPSS 1% CVSS 8.8
HIGH POC PATCH This Week

Sinatra is a domain-specific language for creating web applications in Ruby. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Information Disclosure Debian Debian Linux +2
NVD GitHub
EPSS 2% CVSS 7.5
HIGH PATCH This Week

Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Path Traversal vulnerability could allow attackers to access files and directories outside the intended path.

Path Traversal Debian Debian Linux +2
NVD VulDB GitHub
EPSS 2% CVSS 6.1
MEDIUM POC PATCH This Month

Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

XSS Red Hat Cloudforms +2
NVD GitHub
EPSS 2% CVSS 5.3
MEDIUM PATCH This Month

An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Path Traversal Microsoft Sinatra +1
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy