activesupport is vulnerable to Denial of Service (DoS)
75
CVE Score
High
Denial of Service (DoS)
safe_constantize in activesupport builds a regular expression from the requested constant name when lookup raises LoadError. Untrusted input can supply a pattern that crashes the Ruby process, and Action Cable passes each subscribe channel name through this method before authentication in the default configuration. Repeated requests can keep the process unavailable. The fix compares the constant name to the error message as a literal string and no longer compiles a regular expression.
Upgrade the activesupport library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and untrusted clients can reach safe_constantize, including the default Action Cable endpoint.
1.0.0 - 8.0.5.1
Fixed in 8.0.5.28.1.0 - 8.1.4
Fixed in 8.1.4.1activesupport is vulnerable to Denial of Service (DoS) in versions 1.0.0 - 8.0.5.1 and 8.1.0 - 8.1.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.