Arbitrary Code Execution Affecting github.com/cloudflare/golz4 Open this link in a new tab package, versions <0.0.0-20150217214814-ef862a3cdc58
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.Test your applications
1 Oct 2017
11 Jul 2014
Don A. Bailey
Introduced: 11 Jul 2014CWE-94 Open this link in a new tab
How to fix?
github.com/cloudflare/golz4 to version 0.0.0-20150217214814-ef862a3cdc58 or higher.
github.com/cloudflare/golz4 is a Golang interface to LZ4 compression.
Affected versions of this package are vulnerable to Arbitrary Code Execution. Vulnerable versions of the library used the obsolete native
LZ4_uncompress() function possibly leading to memory corruption resulting in arbitrary code execution in case of successful exploitation. The fix made sure to use the safe version of the function called