json is vulnerable to Out-of-bounds Write
65
CVE Score
Medium
Out-of-bounds Write
The JSON parser mishandles an escaped ASCII control character when allow_control_characters: true is enabled. A backslash followed by a control character can defeat the bounds checks and cause an out-of-bounds write, usually crashing the VM. The issue is exposed when parsing untrusted JSON with that option. The fix moves invalid-escape rejection outside the conditional branch so the malformed input is rejected.
Upgrade the json library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and parse untrusted input with allow_control_characters: true.
2.18.0 - 2.18.1
Fixed in 2.18.22.19.0 - 2.19.2
Fixed in 2.19.3json is vulnerable to Out-of-bounds Write in versions 2.18.0 - 2.18.1 and 2.19.0 - 2.19.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.