SQL Injection Affecting github.com/hashicorp/vault/physical/mssql package, versions <1.11.9>=1.12.0-rc1 <1.12.5>=1.13.0-rc1 <1.13.10


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (15th 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 SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPVAULTPHYSICALMSSQL-5296229
  • published30 Mar 2023
  • disclosed30 Mar 2023
  • creditDaniel Abeles, Gal Goldshtein, Yuval Ostrovsky

Introduced: 30 Mar 2023

CVE-2023-0620  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/vault/physical/mssql to version 1.11.9, 1.12.5, 1.13.10 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection due to improper validation of parameters such as schema, database, and table, which allows a malicious user who has access to the configuration file or knows the username and password to the target database to exploit this vulnerability.

Note:

Exploiting this vulnerability is possible when using the Microsoft SQL (MSSQL) Database Storage Backend.

CVSS Scores

version 3.1