p PatchFirst

PatchFirst · Latest vulnerabilities

ruby2.7 vulnerabilities

Vulnerabilities published for ruby2.7 in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 27

  1. CVE-2025-27219

    Medium · CVSS 5.8EPSS 0.85%Fix available

    CVE-2025-27219

    In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library contains a potential Denial of Service (DoS) vulnerability. The method does not impose any limit on the length of the raw cookie value it processes. This oversight can lead to excessive resource consumption when parsing extremely large cookies.

    • Update to 2.7.0-5ubuntu1.18
    Published Updated
  2. USN-7256-2

    Not ratedFix available

    ruby2.7 regression

    USN-7256-1 fixed vulnerabilities in Ruby. The update introduced a minor regression. This update fixes the problem. We apologize for the inconvenience. Original advisory details: It was discovered that Ruby incorrectly handled parsing of an XML document that has specific XML characters in an attribute value using REXML gem. An attacker could use this issue to cause Ruby to crash, resulting in a denial of service.

    • Update to 2.7.0-5ubuntu1.17
    Published Updated
  3. CVE-2024-49761

    Medium · CVSS 6.6EPSS 1.42%Fix available

    REXML ReDoS vulnerability

    REXML is an XML toolkit for Ruby. The REXML gem before 3.3.9 has a ReDoS vulnerability when it parses an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;). This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. The REXML gem 3.3.9 or later include the patch to fix the vulnerability.

    • Update to 2.7.0-5ubuntu1.15
    Published Updated
  4. CVE-2024-43398

    Medium · CVSS 5.9EPSS 1.21%Fix available

    REXML denial of service vulnerability

    REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.

    • Update to 2.7.0-5ubuntu1.16
    Published Updated
  5. CVE-2024-41123

    Medium · CVSS 5.3EPSS 1.28%Fix available

    REXML DoS vulnerability

    REXML is an XML toolkit for Ruby. The REXML gem before 3.3.2 has some DoS vulnerabilities when it parses an XML that has many specific characters such as whitespace character, `>]` and `]>`. The REXML gem 3.3.3 or later include the patches to fix these vulnerabilities.

    • Update to 2.7.0-5ubuntu1.16
    Published Updated
  6. CVE-2024-39908

    Medium · CVSS 4.3EPSS 1.49%Fix available

    Denial of service in REXML

    REXML is an XML toolkit for Ruby. The REXML gem before 3.3.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as `<`, `0` and `%>`. If you need to parse untrusted XMLs, you many be impacted to these vulnerabilities. The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities. Users are advised to upgrade. Users unable to upgrade should avoid parsing untrusted XML strings.

    • Update to 2.7.0-5ubuntu1.16
    Published Updated
  7. CVE-2024-35176

    Medium · CVSS 5.3EPSS 2.06%Fix available

    REXML contains a denial of service vulnerability

    REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.

    • Update to 2.7.0-5ubuntu1.16
    Published Updated
  8. CVE-2024-27281

    Medium · CVSS 4.5EPSS 1.57%Fix available

    CVE-2024-27281

    An issue was discovered in RDoc 6.3.3 through 6.6.2, as distributed in Ruby 3.x through 3.3.0. When parsing .rdoc_options (used for configuration in RDoc) as a YAML file, object injection and resultant remote code execution are possible because there are no restrictions on the classes that can be restored. (When loading the documentation cache, object injection and resultant remote code execution are also possible if there were a crafted cache.) The main fixed version is 6.6.3.1. For Ruby 3.0 users, a fixed version is rdoc 6.3.4.1. For Ruby 3.1 users, a fixed version is rdoc 6.4.1.1. For Ruby 3.2 users, a fixed version is rdoc 6.5.1.1.

    • Update to 2.7.0-5ubuntu1.13
    Published Updated
  9. CVE-2024-27280

    Critical · CVSS 9.8EPSS 2.36%Fix available

    CVE-2024-27280

    A buffer-overread issue was discovered in StringIO 3.0.1, as distributed in Ruby 3.0.x through 3.0.6 and 3.1.x through 3.1.4. The ungetbyte and ungetc methods on a StringIO can read past the end of a string, and a subsequent call to StringIO.gets may return the memory value. 3.0.3 is the main fixed version; however, for Ruby 3.0 users, a fixed version is stringio 3.0.1.1, and for Ruby 3.1 users, a fixed version is stringio 3.0.1.2.

    • Update to 2.7.0-5ubuntu1.14
    Published Updated
  10. CVE-2024-27282

    Medium · CVSS 6.6EPSS 0.66%Fix available

    CVE-2024-27282

    An issue was discovered in Ruby 3.x through 3.3.0. If attacker-supplied data is provided to the Ruby regex compiler, it is possible to extract arbitrary heap data relative to the start of the text, including pointers and sensitive strings. The fixed versions are 3.0.7, 3.1.5, 3.2.4, and 3.3.1.

    • Update to 2.7.0-5ubuntu1.13
    Published Updated
  11. CVE-2023-36617

    Medium · CVSS 5.3EPSS 1.7%Fix available

    CVE-2023-36617

    A ReDoS issue was discovered in the URI component before 0.12.2 for Ruby. The URI parser mishandles invalid URLs that have specific characters. There is an increase in execution time for parsing strings to URI objects with rfc2396_parser.rb and rfc3986_parser.rb. NOTE: this issue exists becuse of an incomplete fix for CVE-2023-28755. Version 0.10.3 is also a fixed version.

    • Update to 2.7.0-5ubuntu1.12
    Published Updated
  12. CVE-2023-28756

    Medium · CVSS 5.3EPSS 2.45%Fix available

    CVE-2023-28756

    A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1. The Time parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to Time objects. The fixed versions are 0.1.1 and 0.2.2.

    • Update to 2.7.0-5ubuntu1.11
    Published Updated
  13. CVE-2023-28755

    Medium · CVSS 5.3EPSS 2.64%Fix available

    CVE-2023-28755

    A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. The fixed versions are 0.12.1, 0.11.1, 0.10.2 and 0.10.0.1.

    • Update to 2.7.0-5ubuntu1.11
    Published Updated

Check your server

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

Check your server →