← 漏洞与更新

高危漏洞公告RubyRuby on Rails

Active Support: Possible DoS vulnerability in Active Support safe_constantize

受影响

软件包受影响版本修复版本
rubygems:activesupport>= 8.1.0.beta1, < 8.1.4.18.1.4.1
rubygems:activesupport< 8.0.5.28.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…

在 GitHub Advisory Database 阅读

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。