oj is vulnerable to Out-of-bounds Read
59
Medium Risk
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.
You are affected if you are using a version that falls within the vulnerable range.
oj is vulnerable to Out-of-bounds Read in versions 0.0.1 - 3.17.2.
Upgrade the oj library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant