Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') Affecting github.com/pingcap/tidb/pkg/executor package, versions <8.0.0
Threat Intelligence
Exploit Maturity
Proof of concept
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- Snyk ID SNYK-GOLANG-GITHUBCOMPINGCAPTIDBPKGEXECUTOR-7116660
- published 26 May 2024
- disclosed 24 May 2024
- credit Jianwei Liu, Jiaju Bai, Zixuan Fu, Qinglin Song, Yu Sun
Introduced: 24 May 2024
CVE-2024-33809 Open this link in a new tabHow to fix?
Upgrade github.com/pingcap/tidb/pkg/executor
to version 8.0.0 or higher.
Overview
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.
References
CVSS Scores
version 3.1