VDB
KO
MEDIUM

GHSA-2j26-frm8-cmj9

Rails Active Support has a possible DoS vulnerability in its number helpers

Details

### Impact Active Support number helpers accept strings containing scientific notation (e.g. `1e10000`), which when converted to a string could be expanded into extremely large decimal representations. This can cause excessive memory allocation and CPU consumption when the expanded number is formatted, possibly resulting in a DoS vulnerability.

### Releases The fixed releases are available at the normal locations.

### Credit This issue was responsibly reported by Hackerone researcher [manun](https://hackerone.com/manun).

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems / activesupport
Introduced in: 8.1.0.beta1 Fixed in: 8.1.2.1
Fix bundle update activesupport
RubyGems / activesupport
Introduced in: 8.0.0.beta1 Fixed in: 8.0.4.1
Fix bundle update activesupport
RubyGems / activesupport
Introduced in: 0 Fixed in: 7.2.3.1
Fix bundle update activesupport

References