{"affected":[{"affectedData":[{"defaultStatus":"unaffected","platforms":["Windows","MacOS","Linux","x86","ARM","64 bit","32 bit"],"product":"Vault","repo":"https://github.com/hashicorp/vault","vendor":"HashiCorp","versions":[{"lessThan":"1.13.1","status":"affected","version":"1.13.0","versionType":"semver"},{"lessThan":"1.12.5","status":"affected","version":"1.12.0","versionType":"semver"},{"lessThan":"1.11.9","status":"affected","version":"0.8.0","versionType":"semver"}]},{"defaultStatus":"unaffected","platforms":["Windows","MacOS","Android","x86","ARM","64 bit","32 bit"],"product":"Vault Enterprise","vendor":"HashiCorp","versions":[{"lessThan":"1.13.1","status":"affected","version":"1.13.0","versionType":"semver"},{"lessThan":"1.12.5","status":"affected","version":"1.12.0","versionType":"semver"},{"lessThan":"1.11.9","status":"affected","version":"0.8.0","versionType":"semver"}]}],"source":"security@hashicorp.com"}],"configurations":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","matchCriteriaId":"2C565DBD-95F4-4951-A029-93ABE5315740","versionEndExcluding":"1.11.9","vulnerable":true},{"criteria":"cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*","matchCriteriaId":"80EB9F32-09A4-469C-AF76-1AE3137EAC1B","versionEndExcluding":"1.11.9","vulnerable":true},{"criteria":"cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","matchCriteriaId":"446F872F-F64C-44CA-85BC-144FCFBCFA8B","versionEndExcluding":"1.12.5","versionStartIncluding":"1.12.0","vulnerable":true},{"criteria":"cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*","matchCriteriaId":"71A02FE6-C8D4-455D-A71A-C8353E1ECB7C","versionEndExcluding":"1.12.5","versionStartIncluding":"1.12.0","vulnerable":true},{"criteria":"cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","matchCriteriaId":"81280166-3DF7-4867-95E9-A7AFB9A12CE7","versionEndExcluding":"1.13.1","versionStartIncluding":"1.13.0","vulnerable":true},{"criteria":"cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*","matchCriteriaId":"C56E203C-1E18-4395-B500-B6EA695B16C0","versionEndExcluding":"1.13.1","versionStartIncluding":"1.13.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"id":"CVE-2023-0620","lastModified":"2026-06-17T05:25:56.713","metrics":{"cvssMetricV31":[{"cvssData":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"exploitabilityScore":0.6,"impactScore":5.9,"source":"security@hashicorp.com","type":"Secondary"},{"cvssData":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.7,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"exploitabilityScore":0.8,"impactScore":5.9,"source":"nvd@nist.gov","type":"Primary"}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"id":"CVE-2023-0620","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","timestamp":"2025-02-12T14:59:29.534068Z","version":"2.0.3"}}]},"published":"2023-03-30T01:15:07.380","references":[{"source":"security@hashicorp.com","tags":["Issue Tracking","Patch","Vendor Advisory"],"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"},{"source":"security@hashicorp.com","url":"https://security.netapp.com/advisory/ntap-20230526-0008/"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Patch","Vendor Advisory"],"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"},{"source":"af854a3a-2127-422b-91ae-364da2661108","url":"https://security.netapp.com/advisory/ntap-20230526-0008/"}],"sourceIdentifier":"security@hashicorp.com","vulnStatus":"Modified","weaknesses":[{"description":[{"lang":"en","value":"CWE-89"}],"source":"security@hashicorp.com","type":"Secondary"},{"description":[{"lang":"en","value":"CWE-89"}],"source":"nvd@nist.gov","type":"Primary"}]}