oj is vulnerable to Out-of-bounds Read
59
CVE Score
Medium
Out-of-bounds Read
The C extension intern.c path interned symbol names from the wrong buffer pointer when JSON keys exceeded the inline buffer size. This can read unintended memory when parsing JSON that triggers that code path. The release also bounds Oj::Doc child-iterator depth to block stack exhaustion during deeply nested traversal. The patch uses the correct allocated buffer and enforces iterator depth limits.
Upgrade the oj library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 3.17.2
Fixed in 3.17.3oj is vulnerable to Out-of-bounds Read in versions 0.0.1 - 3.17.2.
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.