Security mailing lists by PureSourceCode

CVE-2023-0620

MEDIUM 6.7CVSS 3.1

HashiCorp Vault’s Microsoft SQL Database Storage Backend Vulnerable to SQL Injection Via Configuration File

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.

Published
30 Mar 2023
Last modified
10 Sep 2026
Assigned by
security@hashicorp.com
NVD status
Modified
Weakness
CWE-89
Also known as
BIT-vault-2023-0620GHSA-v3hp-mcj5-pg39GO-2023-1685
Sources
NVDJSONOSV GHSA-v3hp-mcj5-pg39JSONOSV GO-2023-1685JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.7 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.7 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD security@hashicorp.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
< 1.11.9 1.11.9
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
< 1.11.9 1.11.9
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
>= 1.12.0, < 1.12.5 1.12.5
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 1.12.0, < 1.12.5 1.12.5
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
>= 1.13.0, < 1.13.1 1.13.1
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 1.13.0, < 1.13.1 1.13.1
OSV Go github.com/hashicorp/vault >= 0.8.0, < 1.11.9 1.11.9
OSV Go github.com/hashicorp/vault >= 1.12.0, < 1.12.5 1.12.5
OSV Go github.com/hashicorp/vault >= 1.13.0, < 1.13.1 1.13.1
OSV Go github.com/hashicorp/vault >= 0.8.0, < 1.11.9; >= 1.12.0, < 1.12.5; >= 1.13.0, < 1.13.1 1.11.9, 1.12.5, 1.13.1

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 30 Mar 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Aug 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Mar 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.