CVE-2023-0620: hashicorp vault SQL Injection
Vulnerability summary
CVE-2023-0620 is a medium (CVSS 6.7) SQL Injection vulnerability in hashicorp vault. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 30-03-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA6.5MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · WolfiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · GoEcosystem advisory · calculated6.7MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
0.00 pp
From 0.38% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- k3d< 5.6.0-r11
- k3d-proxy< 5.6.0-r11
- k3d-tools< 5.6.0-r11
Wolfi3 products
- k3d< 5.6.0-r11
- k3d-proxy< 5.6.0-r11
- k3d-tools< 5.6.0-r11
Hashicorp2 products
- vault≥ 0.8.0, < 1.11.9 | < 1.11.9 | ≥ 1.12.0, < 1.12.5 | ≥ 1.13.0, < 1.13.1
- vault enterprise≥ 1.13.0, < 1.13.1 | ≥ 1.12.0, < 1.12.5 | ≥ 0.8.0, < 1.11.9
Github.com/hashicorp1 product
- vault≥ 0.8.0, < 1.11.9 | ≥ 1.12.0, < 1.12.5 | ≥ 1.13.0, < 1.13.1
4 vendors · 9 products
References
11 links- github.com/hashicorp/vaultPACKAGE