Intel

AIKIDO-2024-10316

prism is vulnerable to Improper Input Validation

Improper Input Validation Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 3, 2024

52

Medium Risk

This Affects:

rubyprism
0.7.0 - 1.0.0
Fixed in 1.1.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to improper input validation. When using recursive descent, the package does not impose a maximum recursion depth, making it susceptible to malicious payloads that could attempt to crash the parser by causing excessive recursion.

Who does this affect?

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

Background info

prism is vulnerable to Improper Input Validation in versions 0.7.0 - 1.0.0.

How to fix this

Upgrade the prism library to the patch version.