We have released Ruby 4.0.9, 3.4.12 and 3.3.13. They fix several bugs in Ruby’s regular expression engine (Onigmo) that GitLab found could be used for remote code execution on GitLab servers. GitLab published four CVEs for these issues, and the Ruby releases contain the fixes for the underlying bugs in Ruby.
Background
GitLab compiles regular expressions supplied by its users, such as patterns in CI configuration, with Regexp.new. GitLab found that specially crafted patterns could corrupt memory while Ruby compiles them, and that this could be turned into remote code execution on GitLab servers. GitLab addressed these issues in its own releases by patching the Ruby it ships, and assigned the following CVE identifiers:
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
AI 摘要Seven vulnerabilities have been discovered in Ruby's regular expression engine and string case conversion, some of which have proof-of-concept exploits that can trigger remote code execution. The flaws affect Ruby 3.3.13 and earlier, 3.4.0 through 3.4.12, and 4.0.0 through 4.0.9, and have been fixed in Ruby 4.0.10, 3.4.13, and 3.3.14. Users are strongly recommended to upgrade, though CVE identifiers have not yet been assigned, so the advisories use GitHub Security Advisory (GHSA) identifiers.
AI 摘要Ruby 3.3.14 has been released, including security fixes for multiple vulnerabilities in Regexp and String case conversion. Starting with this release, Ruby 3.3 will also receive backported bug fixes rather than security fixes only, so the phase has been renamed from the security maintenance phase to the legacy maintenance phase, with official support still scheduled to end at the end of March 2027. The release includes download links and checksums for the tar.gz, tar.xz, and zip packages, with further details available on GitHub releases.
AI 摘要Ruby 3.4.13 has been released, including security fixes for multiple vulnerabilities in Regexp and String case conversion, along with other bug fixes. Download links and checksums for the tar.gz, tar.xz, and zip packages are provided. The release thanks the many committers, developers, and users who contributed bug reports.
AI 摘要Ruby 4.0.10 has been released, featuring security fixes for multiple vulnerabilities in Regexp and String case conversion, along with additional bug fixes. Download links for the tar.gz, tar.xz, and zip packages are provided with checksum details. The release credits many committers, developers, and users who contributed bug reports.
AI 摘要Ruby 3.3.13 has been released with security fixes, including an update to the default resolv gem (version 0.3.2) that addresses CVE-2026-80212 and CVE-2026-80213. As an exception during Ruby 3.3's security maintenance phase, this release also includes Regexp compilation bug fixes related to several GitLab CVEs (CVE-2026-89078, CVE-2026-93577, CVE-2026-97229, and CVE-2026-110264). Further details are available on the GitHub releases page.