LZ4 bindings use a deprecated C API that is vulnerable to memory corruption, which could lead to arbitrary code execution if called with untrusted user input.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://github.com/cloudflare/golz4/commit/199f5f7878062ca17a98e079f2dbe1205e2ed898 | third party advisory patch |
https://github.com/cloudflare/golz4/issues/5 | patch third party advisory issue tracking |
https://pkg.go.dev/vuln/GO-2020-0022 | patch vendor advisory |