CVE-2023-0620

Vault Vulnerable to SQL Injection When Configuring the Microsoft SQL Database Storage Backend

State
Published
Severity
6.5 Medium
Published
Mar 30, 2023
Updated
Feb 13, 2025
Reserved
Feb 1, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:HHashiCorp

Weaknesses

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Affected Products

ProductVersions
VaultHashiCorp
  • 1.13.0 to before 1.13.1Affected
  • 1.12.0 to before 1.12.5Affected
  • 0.8.0 to before 1.11.9Affected
Vault EnterpriseHashiCorp
  • 1.13.0 to before 1.13.1Affected
  • 1.12.0 to before 1.12.5Affected
  • 0.8.0 to before 1.11.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.