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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
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
10- osv-coords8 versionspkg:apk/chainguard/k3dpkg:apk/chainguard/k3d-proxypkg:apk/chainguard/k3d-toolspkg:apk/wolfi/k3dpkg:apk/wolfi/k3d-proxypkg:apk/wolfi/k3d-toolspkg:bitnami/vaultpkg:golang/github.com/hashicorp/vault
< 5.6.0-r11+ 7 more
- (no CPE)range: < 5.6.0-r11
- (no CPE)range: < 5.6.0-r11
- (no CPE)range: < 5.6.0-r11
- (no CPE)range: < 5.6.0-r11
- (no CPE)range: < 5.6.0-r11
- (no CPE)range: < 5.6.0-r11
- (no CPE)range: < 1.11.9
- (no CPE)range: >= 0.8.0, < 1.11.9
- Range: 1.13.0
Patches
Vulnerability mechanics
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.