Live threats

All CVEs / Hashicorp

CVE-2023-0620Hashicorp Vault

Medium 6.7

Priority
40
CVSS 3.1
6.7
EPSS
0.4%
probability of exploitation in 30 days · percentile 26
Auth required
Yes
Published
Mar 30, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vault.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/hashicorp/vault ≥ 0.8.0 < 1.11.9 1.11.9 go get github.com/hashicorp/vault@v1.11.9
Go github.com/hashicorp/vault ≥ 1.12.0 < 1.12.5 1.12.5 go get github.com/hashicorp/vault@v1.12.5
Go github.com/hashicorp/vault ≥ 1.13.0 < 1.13.1 1.13.1 go get github.com/hashicorp/vault@v1.13.1
Go github.com/hashicorp/vault ≥ 0.8.0 < 1.11.9 1.11.9 go get github.com/hashicorp/vault@v1.11.9
Go github.com/hashicorp/vault ≥ 1.12.0 < 1.12.5 1.12.5 go get github.com/hashicorp/vault@v1.12.5
Go github.com/hashicorp/vault ≥ 1.13.0 < 1.13.1 1.13.1 go get github.com/hashicorp/vault@v1.13.1

Per OSV / GitHub Advisories (GHSA-v3hp-mcj5-pg39, GO-2023-1685). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hashicorpvault< 1.11.9
hashicorpvault< 1.11.9
hashicorpvault≥ 1.12.0 < 1.12.5
hashicorpvault≥ 1.12.0 < 1.12.5
hashicorpvault≥ 1.13.0 < 1.13.1
hashicorpvault≥ 1.13.0 < 1.13.1

Official sources

References

Links published by the sources. Open them with care.