activemodel is vulnerable to Denial of Service (DoS)
53
CVE Score
Medium
Denial of Service (DoS)
ActiveModel::Type::Integer casts arbitrarily long numeric strings without bounding their size before conversion, so a single oversized string parameter drives disproportionate CPU work during casting. Any attribute typed as an integer that receives untrusted input can trigger this cost on every request that sets the attribute. The fix bounds the string length accepted for integer casting so oversized values are rejected instead of processed.
Upgrade the activemodel and/or the rails library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
3.0.0 - 8.1.3.1
Fixed in 8.1.4activemodel is vulnerable to Denial of Service (DoS) in versions 3.0.0 - 8.1.3.1.
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.