Moderate severityNVD Advisory· Published Mar 30, 2023· Updated Feb 13, 2025
Vault Vulnerable to SQL Injection When Configuring the Microsoft SQL Database Storage Backend
CVE-2023-0620
Description
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/hashicorp/vaultGo | >= 0.8.0, < 1.11.9 | 1.11.9 |
github.com/hashicorp/vaultGo | >= 1.12.0, < 1.12.5 | 1.12.5 |
github.com/hashicorp/vaultGo | >= 1.13.0, < 1.13.1 | 1.13.1 |
Affected products
2- HashiCorp/Vault Enterprisev5Range: 1.13.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
9- github.com/advisories/GHSA-v3hp-mcj5-pg39ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-0620ghsaADVISORY
- discuss.hashicorp.com/t/hcsec-2023-12-vault-s-microsoft-sql-database-storage-backend-vulnerable-to-sql-injection-via-configuration-file/52080/1ghsaWEB
- github.com/hashicorp/vault/pull/19591ghsaWEB
- github.com/hashicorp/vault/releases/tag/v1.11.9ghsaWEB
- github.com/hashicorp/vault/releases/tag/v1.12.5ghsaWEB
- github.com/hashicorp/vault/releases/tag/v1.13.1ghsaWEB
- security.netapp.com/advisory/ntap-20230526-0008ghsaWEB
- security.netapp.com/advisory/ntap-20230526-0008/mitre
News mentions
0No linked articles in our index yet.