ruby is vulnerable to Integer Overflow
77
CVE Score
High
Integer Overflow
Onigmo, the regexp engine inside Ruby, stores compiled-program offsets in a signed integer and does not reject a program that outgrows that integer. An application that compiles a regular expression from untrusted input can supply a pattern whose compiled form wraps those offsets and corrupts memory. The corruption can be used to run code in the Ruby process. The fix stops compilation when the program would exceed the offset type.
Upgrade the ruby library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application compiles regular expressions from untrusted input.
1.9.1 - 3.3.12
Fixed in 3.3.133.4.0 - 3.4.11
Fixed in 3.4.124.0.0 - 4.0.7
Fixed in 4.0.8ruby is vulnerable to Integer Overflow in versions 1.9.1 - 3.3.12, 3.4.0 - 3.4.11 and 4.0.0 - 4.0.7.
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.