{"id":"CVE-2023-0620","published":"2023-03-30T00:28:13Z","modified":"2025-02-13T16:39:02Z","title":"Vault Vulnerable to SQL Injection When Configuring the Microsoft SQL Database Storage Backend","vendor":"HashiCorp","product":"Vault","tier":"tail","description":{"text":"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.\n\nThis issue is fixed in versions 1.13.1, 1.12.5, and 1.11.9.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00378,"percentile":0.32632,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2023-12-vault-s-microsoft-sql-database-storage-backend-vulnerable-to-sql-injection-via-configuration-file/52080/1","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230526-0008/","tags":[]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":6.53},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Vault","versions":[">= 1.13.0, < 1.13.1",">= 1.12.0, < 1.12.5",">= 0.8.0, < 1.11.9"]},{"vendor":"HashiCorp","product":"Vault Enterprise","versions":[">= 1.13.0, < 1.13.1",">= 1.12.0, < 1.12.5",">= 0.8.0, < 1.11.9"]}],"capec":[{"id":"CAPEC-66","name":"SQL Injection"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-12T14:59:29.534068Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","vulnerableRanges":[">=0.8.0, <1.11.9",">=1.12.0, <1.12.5",">=1.13.0, <1.13.1"],"patched":["1.11.9","1.12.5","1.13.1"],"from":["GHSA-v3hp-mcj5-pg39","GO-2023-1685"],"provenance":"source"}],"summary":{"text":"HashiCorp Vault and Vault Enterprise have an SQL injection flaw in the configuration of the Microsoft SQL (MSSQL) Database Storage Backend, where certain parameters passed to the user-provided MSSQL database are not sanitized. An attacker with local access, high privileges, and a user interaction condition can modify those parameters to execute malicious SQL commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:04Z"},"euvd":{"id":"EUVD-2023-1105","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-41316","published":"2022-10-12","fixed":"1.11.4","kev":false},{"cve":"CVE-2023-24999","published":"2023-03-10","fixed":"1.12.4","kev":false,"link":{"from":"CVE-2023-24999","to":"CVE-2023-0620","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.11.8","toFixed":"1.11.9","daysApart":20}]}},{"cve":"CVE-2023-5077","published":"2023-09-28","fixed":"1.13.0","kev":false},{"cve":"CVE-2023-0620","published":"2023-03-30","fixed":"1.13.1","kev":false},{"cve":"CVE-2023-0665","published":"2023-03-30","fixed":"1.13.1","kev":false},{"cve":"CVE-2023-25000","published":"2023-03-30","fixed":"1.13.1","kev":false},{"cve":"CVE-2023-2121","published":"2023-06-09","fixed":"1.13.3","kev":false}],"package":"Go:github.com/hashicorp/vault"}}