Vulnerability
CVE-2023-0620
HashiCorp Vault and Vault Enterprise versions 0.8.0 through 1.13.1 are vulnerable to an SQL injection attack when configuring the Microsoft SQL (MSSQL) Database Storage Backend. When configuring the MSSQL plugin through the local, certain parameters are not sanitized when passed to the user-provided MSSQL database. An attacker may modify these parameters to execute a malicious SQL command. This issue is fixed in versions 1.13.1, 1.12.5, and 1.11.9.
8 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-37c2-vhmh-7qch
- CGA-c7vv-fmhj-q8g7
- CGA-fp7w-hvjf-pr2c
- CGA-h63x-95qg-cfc4
- CGA-jrc6-62q7-gvf7
- CGA-wqhv-mfr4-8cv5
-
GHSA-v3hp-mcj5-pg39
HashiCorp Vault’s Microsoft SQL Database Storage Backend Vulnerable to SQL Injection Via Configuration File
-
GO-2023-1685
HashiCorp Vault’s Microsoft SQL Database Storage Backend Vulnerable to SQL Injection Via Configuration File in github.com/hashicorp/vault