Active Support: Possible DoS vulnerability in Active Support safe_constantize
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| rubygems:activesupport | >= 8.1.0.beta1, < 8.1.4.1 | 8.1.4.1 |
| rubygems:activesupport | < 8.0.5.2 | 8.0.5.2 |
When constant lookup raises LoadError, ActiveSupport::Inflector#safe_constantize (and String#safe_constantize) builds a regular expression from the requested constant name without escaping it, so a caller that passes untrusted input lets the attacker choose the source of a pattern that the application compiles. Crafted patterns can trigger defects in Ruby's regular expression compiler, possibly leading to a crash of the server process, and repeated requests could keep the application unavailabl…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/11/11 06:34、GitHub Advisory Databaseが「Active Support: Possible DoS vulnerability in Active Support safe_constantize」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: Ruby、Ruby on Rails。CVE: CVE-2026-126080。