CVE-2023-0620 Vault Vulnerable to SQL Injection When Configuring the Microsoft SQL Database Storage Backend
MediumCVSS 6.7
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hashicorp github.com/hashicorp/vault | < 1.11.9; >= 0.8.0, < 1.11.9; >= 1.12.0, < 1.12.5; >= 1.13.0, < 1.13.1 | 1.11.9, 1.12.5, 1.13.1 | Fixed |
| hashicorp github.com/hashicorp/vault(Go) | >= 0.8.0, < 1.11.9; >= 1.12.0, < 1.12.5; >= 1.13.0, < 1.13.1 | 1.11.9, 1.12.5, 1.13.1 | Fixed |
| hashicorp Vault Enterprise | >= 0.8.0, < 1.11.9; >= 1.12.0, < 1.12.5; >= 1.13.0, < 1.13.1 | 1.11.9, 1.12.5, 1.13.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp github.com/hashicorp/vault(Go) | >= 0.8.0, < 1.11.9 | 1.11.9 |
| hashicorp github.com/hashicorp/vault(Go) | >= 1.12.0, < 1.12.5 | 1.12.5 |
| hashicorp github.com/hashicorp/vault(Go) | >= 1.13.0, < 1.13.1 | 1.13.1 |
| hashicorp github.com/hashicorp/vault | >= 1.13.0, < 1.13.1 | 1.13.1 |
| hashicorp github.com/hashicorp/vault | >= 1.12.0, < 1.12.5 | 1.12.5 |
| hashicorp github.com/hashicorp/vault | >= 0.8.0, < 1.11.9 | 1.11.9 |
| hashicorp Vault Enterprise | >= 1.13.0, < 1.13.1 | 1.13.1 |
| hashicorp Vault Enterprise | >= 1.12.0, < 1.12.5 | 1.12.5 |
| hashicorp Vault Enterprise | >= 0.8.0, < 1.11.9 | 1.11.9 |
| hashicorp github.com/hashicorp/vault | < 1.11.9 | 1.11.9 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- discuss.hashicorp.com issue-tracking patch vendor-advisory
- github.com patch
- github.com
- github.com
- github.com
- security.netapp.com
- github.com vendor-advisory
- github.com product