首页›Ruby News›文章

Security advisories: multiple vulnerabilities in Regexp and String case conversion

2026年11月18日

AI 摘要 AI 生成,可能有误

在 Ruby 的正则表达式引擎和字符串大小写转换中发现了七个漏洞,其中一些漏洞存在能够触发远程代码执行的概念验证(PoC)漏洞利用代码。这些缺陷影响 Ruby 3.3.13 及更早版本、3.4.0 至 3.4.12 版本以及 4.0.0 至 4.0.9 版本,并已在 Ruby 4.0.10、3.4.13 和 3.3.14 中得到修复。强烈建议用户进行升级,但由于 CVE 编号尚未分配,因此这些安全公告使用的是 GitHub 安全公告(GHSA)标识符。

Seven vulnerabilities have been discovered in Ruby’s regular expression engine and in the case conversion of strings. We are aware of PoCs that prove some of them can be used to trigger remote code execution. We have released Ruby 4.0.10, 3.4.13 and 3.3.14 to fix them. We strongly recommend upgrading.

CVE identifiers have been requested for these vulnerabilities but have not been assigned yet, so this advisory refers to them by their GitHub Security Advisory (GHSA) identifiers.

GHSA-34m4-m9fh-gqp5: Heap buffer overflow in case conversion of strings

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Ruby News

Ruby 3.3.14 Released

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.

Ruby 3.4.13 Released

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.

Ruby 4.0.10 Released

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.

Ruby 3.3.13 Released

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.

Ruby 3.4.12 Released

AI 摘要Ruby 3.4.12 has been released, featuring fixes for Regexp compilation bugs that GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229, and CVE-2026-110264 rely on, along with other bug fixes. Download links and checksums for the source archives (.tar.gz, .tar.xz, and .zip) are provided, with further details available on GitHub releases. The release announcement, posted by nagachika on 23 Oct 2026, thanks the committers, developers, and users who contributed bug reports.