Use of Externally-Controlled Format String Affecting github.com/pingcap/tidb/sessionctx/variable package, versions <6.4.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (59th percentile)

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 Learn

Learn about Use of Externally-Controlled Format String vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPINGCAPTIDBSESSIONCTXVARIABLE-3104639
  • published4 Nov 2022
  • disclosed4 Nov 2022
  • creditUnknown

Introduced: 4 Nov 2022

CVE-2022-3023  (opens in a new tab)
CWE-134  (opens in a new tab)

How to fix?

Upgrade github.com/pingcap/tidb/sessionctx/variable to version 6.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Use of Externally-Controlled Format String due to the Data Source Name (DSN) strings for describing database connections not being neutralized.

CVSS Base Scores

version 3.1