zstd-jni is vulnerable to Out-of-bounds Read
82
CVE Score
High
Out-of-bounds Read
ZstdDictCompress checks only that offset is not past the end of the dictionary array, then passes offset and length into a native copy. A negative offset or a length past the array is accepted, so the native copy reads past the array into adjacent heap memory and can crash the JVM. The fix rejects a negative offset or length and rejects a range that extends past the array.
Upgrade the com.github.luben:zstd-jni library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your code passes an offset or length into ZstdDictCompress.
1.2.0 - 1.5.7-13
Fixed in 1.5.7-14zstd-jni is vulnerable to Out-of-bounds Read in versions 1.2.0 - 1.5.7-13.
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.