
Cloud Vulnerability DB
A community-led vulnerabilities database
LZ4 bindings in github.com/cloudflare/golz4 before version v0.0.0-20140711154735-199f5f787806 use a deprecated C API that is vulnerable to memory corruption, which could lead to arbitrary code execution if called with untrusted user input (Go Packages).
The vulnerability stems from the use of the unsafe decoder version LZ4_uncompress instead of the secure version LZ4_decompress_safe. The unsafe version lacks proper input validation, making it susceptible to memory corruption through maliciously crafted input. This implementation flaw could potentially allow attackers to trigger arbitrary code execution when processing untrusted input (GitHub Issue).
The vulnerability could allow attackers to execute arbitrary code through maliciously crafted input, potentially compromising the security of applications using the affected LZ4 bindings. The impact is particularly severe when processing untrusted user input, as it could lead to complete system compromise (Go Packages).
The issue has been fixed in version v0.0.0-20140711154735-199f5f787806 by replacing the unsafe LZ4_uncompress function with the secure LZ4_decompress_safe version. Users should upgrade to this version or later to address the vulnerability (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."