CVE-2023-0620 MEDIUM

CVE-2023-0620: Vault Vulnerable to SQL Injection When Configuring the Microsoft SQL Database Storage Backend

Vendor Hashicorp
Product Vault
Weakness CWE-89 · SQLi
Published March 30, 2023
Last update February 13, 2025

CVSS base score

6.5/10
Attack vector Local
Attack complexity Low
Privileges required High
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 30, 2023 CVE published
February 13, 2025 Record updated