Intel

AIKIDO-2026-31514

activemodel is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Yesterday

53

Medium Risk

This Affects:

RUBYactivemodel
3.0.0 - 8.1.3.1
Fixed in 8.1.4
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

activemodel is vulnerable to Denial of Service (DoS) in versions 3.0.0 - 8.1.3.1.

How to fix this

Upgrade the activemodel and/or the rails library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform