p PatchFirst

PatchFirst · Latest vulnerabilities

ruby-sinatra vulnerabilities

Vulnerabilities published for ruby-sinatra in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 4

  1. CVE-2025-61921

    Low · CVSS 2.7EPSS 0.5%Fix available

    Sinatra has ReDoS vulnerability in ETag header value generation

    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` header parsing in Sinatra to take an unexpected amount of time, possibly resulting in a denial of service attack vector. This header is typically involved in generating the `ETag` header value. Any applications that use the `etag` method when generating a response are impacted. Version 4.2.0 fixes th

    • Update to 4.2.1-1
    Published Updated
  2. CVE-2024-21510

    Medium · CVSS 5.4EPSS 0.49%Fix available

    CVE-2024-21510

    Versions of the package sinatra from 0.0.0 are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the X-Forwarded-Host (XFH) header. When making a request to a method with redirect applied, it is possible to trigger an Open Redirect Attack by inserting an arbitrary address into this header. If used for caching purposes, such as with servers like Nginx, or as a reverse proxy, without handling the X-Forwarded-Host header, attackers can potentially exploit Cache Poisoning or Routing-based SSRF.

    • Update to 4.1.1-2
    Published Updated
  3. CVE-2022-45442

    High · CVSS 8.8EPSS 0.69%Fix available

    Sinatra vulnerable to Reflected File Download attack

    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.

    • Update to 3.0.5-2
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →