p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости ruby2.7

За последние 30 дней в ruby2.7 опубликовано уязвимостей: 0; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 27

  1. CVE-2025-27221

    Низкий · CVSS 3.2EPSS 0,51%Есть исправление

    CVE-2025-27221

    In the URI gem before 1.0.3 for Ruby, the URI handling methods (URI.join, URI#merge, URI#+) have an inadvertent leakage of authentication credentials because userinfo is retained even after changing the host.

    • Обновитесь до 2.7.0-5ubuntu1.18
  2. CVE-2025-27220

    Средний · CVSS 4EPSS 0,76%Есть исправление

    CVE-2025-27220

    In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.

    • Обновитесь до 2.7.0-5ubuntu1.18
  3. CVE-2025-27219

    Средний · CVSS 5.8EPSS 0,85%Есть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.18
  4. USN-7256-2

    Без оценкиЕсть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.17
    Опубликовано Обновлено
  5. CVE-2024-49761

    Средний · CVSS 6.6EPSS 1,42%Есть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.15
    Опубликовано Обновлено
  6. CVE-2024-43398

    Средний · CVSS 5.9EPSS 1,21%Есть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.16
    Опубликовано Обновлено
  7. CVE-2024-41946

    Средний · CVSS 5.3EPSS 1,19%Есть исправление

    REXML DoS vulnerability

    REXML is an XML toolkit for Ruby. The REXML gem 3.3.2 has a DoS vulnerability when it parses an XML that has many entity expansions with SAX2 or pull parser API. The REXML gem 3.3.3 or later include the patch to fix the vulnerability.

    • Обновитесь до 2.7.0-5ubuntu1.15
    Опубликовано Обновлено
  8. CVE-2024-41123

    Средний · CVSS 5.3EPSS 1,28%Есть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.16
    Опубликовано Обновлено
  9. CVE-2024-39908

    Средний · CVSS 4.3EPSS 1,49%Есть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.16
  10. CVE-2024-35176

    Средний · CVSS 5.3EPSS 2,06%Есть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.16
  11. CVE-2024-27281

    Средний · CVSS 4.5EPSS 1,57%Есть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.13
  12. CVE-2024-27280

    Критический · CVSS 9.8EPSS 2,36%Есть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.14
  13. CVE-2024-27282

    Средний · CVSS 6.6EPSS 0,66%Есть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.13
  14. CVE-2023-36617

    Средний · CVSS 5.3EPSS 1,7%Есть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.12
  15. CVE-2023-28756

    Средний · CVSS 5.3EPSS 2,45%Есть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.11
  16. CVE-2023-28755

    Средний · CVSS 5.3EPSS 2,64%Есть исправление

    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.

    • Обновитесь до 2.7.0-5ubuntu1.11
  17. CVE-2021-33621

    Высокий · CVSS 8.8EPSS 2,45%Есть исправление

    CVE-2021-33621

    The cgi gem before 0.1.0.2, 0.2.x before 0.2.2, and 0.3.x before 0.3.5 for Ruby allows HTTP response splitting. This is relevant to applications that use untrusted user input either to generate an HTTP response or to create a CGI::Cookie object.

    • Обновитесь до 2.7.0-5ubuntu1.8
    Опубликовано Обновлено
  18. CVE-2022-28739

    Высокий · CVSS 7.5EPSS 4,37%Есть исправление

    CVE-2022-28739

    There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2. It occurs in String-to-Float conversion, including Kernel#Float and String#to_f.

    • Обновитесь до 2.7.0-5ubuntu1.7
  19. CVE-2021-41816

    Критический · CVSS 9.8EPSS 4,9%Есть исправление

    CVE-2021-41816

    CGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 has an integer overflow and resultant buffer overflow via a long string on platforms (such as Windows) where size_t and long have different numbers of bytes. This also affects the CGI gem before 0.3.1 for Ruby.

    • Обновитесь до 2.7.0-5ubuntu1.6
    Опубликовано Обновлено
  20. CVE-2021-41819

    Высокий · CVSS 7.5EPSS 3,15%Есть исправление

    CVE-2021-41819

    CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby.

    • Обновитесь до 2.7.0-5ubuntu1.6

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →