Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 applicationsUpgrade github.com/pingcap/tidb/pkg/executor
to version 8.0.0 or higher.
Affected versions of this package are vulnerable to Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') in the buffer handling process. An attacker can cause a denial of service by exploiting the memory allocation behavior. The panic happens when get string from a column while the offset field in the column is not initialized, which leads to the index out of range.