RHSA-2025:8131MediumCVSS 6.5

Red Hat Security Advisory: ruby security update

Published
May 26, 2025
Last Modified
September 17, 2026

🔗 CVE IDs covered (3)

📋 Description

CVE-2025-25186 — net-imap: Net::IMAP vulnerable to possible DoS by memory exhaustion CVE-2025-27219 — CGI: Denial of Service in CGI::Cookie.parse CVE-2025-27221 — uri: userinfo leakage in URI#join, URI#merge and URI#+

🎯 Affected products97

  • Red Hat Enterprise Linux AppStream (v. 10)
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • ruby-0:3.3.8-10.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-0:3.3.8-10.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-0:3.3.8-10.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-0:3.3.8-10.el10_0.src as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-0:3.3.8-10.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-bundled-gems-0:3.3.8-10.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-bundled-gems-0:3.3.8-10.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-bundled-gems-0:3.3.8-10.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-bundled-gems-0:3.3.8-10.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-bundled-gems-debuginfo-0:3.3.8-10.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-bundled-gems-debuginfo-0:3.3.8-10.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-bundled-gems-debuginfo-0:3.3.8-10.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-bundled-gems-debuginfo-0:3.3.8-10.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-debuginfo-0:3.3.8-10.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-debuginfo-0:3.3.8-10.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-debuginfo-0:3.3.8-10.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-debuginfo-0:3.3.8-10.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-debugsource-0:3.3.8-10.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-debugsource-0:3.3.8-10.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-debugsource-0:3.3.8-10.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-debugsource-0:3.3.8-10.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-default-gems-0:3.3.8-10.el10_0.noarch as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-devel-0:3.3.8-10.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-devel-0:3.3.8-10.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-devel-0:3.3.8-10.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-devel-0:3.3.8-10.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • ruby-doc-0:3.3.8-10.el10_0.noarch as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • ruby-libs-0:3.3.8-10.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • +67 more not shown

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Do not process large cookies or strings with the CGI::Cookie.parse method from the CGI library. Adding a check to verify and limit the length of the cookie or string before processing it will mitigate this vulnerability.

🔗 References (6)