SQL Injection in Hashicorp Vault

CVE-2023-0620

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.

Vulnerability class: SQL Injection

EPSS: 0.004 (30.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-0620?
CVE-2023-0620 is a medium-severity vulnerability in Hashicorp Vault, classified under SQL Injection. CVSS score: 6.5/10. Published 2023-03-30.
How severe is CVE-2023-0620?
Medium severity. CVSS v3 base score is 6.5 out of 10.