Vault Vulnerable to SQL Injection When Configuring the Microsoft SQL Database Storage Backend
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 3 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| HashiCorp | Vault | 1.13.0 to before 1.13.1; 1.12.0 to before 1.12.5; 0.8.0 to before 1.11.9 | 1.13.1, 1.12.5, 1.11.9 | Patch available | CNA |
| HashiCorp | Vault Enterprise | 1.13.0 to before 1.13.1; 1.12.0 to before 1.12.5; 0.8.0 to before 1.11.9 | 1.13.1, 1.12.5, 1.11.9 | Patch available | CNA |
| — | github.com/hashicorp/vault (Go) | 0.8.0 to before 1.11.9 | 1.11.9 | Patch available | GHSA-v3hp-mcj5-pg39 |
| — | github.com/hashicorp/vault (Go) | 1.12.0 to before 1.12.5 | 1.12.5 | Patch available | GHSA-v3hp-mcj5-pg39 |
| — | github.com/hashicorp/vault (Go) | 1.13.0 to before 1.13.1 | 1.13.1 | Patch available | GHSA-v3hp-mcj5-pg39 |
- Vault VendorHashiCorp Affected 1.13.0 to before 1.13.1; 1.12.0 to before 1.12.5; 0.8.0 to before 1.11.9 Fixed in 1.13.1, 1.12.5, 1.11.9 Patch available CNA
- Vault Enterprise VendorHashiCorp Affected 1.13.0 to before 1.13.1; 1.12.0 to before 1.12.5; 0.8.0 to before 1.11.9 Fixed in 1.13.1, 1.12.5, 1.11.9 Patch available CNA
- github.com/hashicorp/vault (Go) Vendor— Affected 0.8.0 to before 1.11.9 Fixed in 1.11.9 Patch available GHSA-v3hp-mcj5-pg39
- github.com/hashicorp/vault (Go) Vendor— Affected 1.12.0 to before 1.12.5 Fixed in 1.12.5 Patch available GHSA-v3hp-mcj5-pg39
- github.com/hashicorp/vault (Go) Vendor— Affected 1.13.0 to before 1.13.1 Fixed in 1.13.1 Patch available GHSA-v3hp-mcj5-pg39
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* | before 1.11.9 | Vulnerable | HashiCorp |
| cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* | before 1.11.9 | Vulnerable | HashiCorp |
| cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* | 1.12.0 to before 1.12.5 | Vulnerable | HashiCorp |
| cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* | 1.12.0 to before 1.12.5 | Vulnerable | HashiCorp |
| cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* | 1.13.0 to before 1.13.1 | Vulnerable | HashiCorp |
| cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* | 1.13.0 to before 1.13.1 | Vulnerable | HashiCorp |
- cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* Versions before 1.11.9 Vulnerable ·HashiCorp
- cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* Versions before 1.11.9 Vulnerable ·HashiCorp
- cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* Versions 1.12.0 to before 1.12.5 Vulnerable ·HashiCorp
- cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* Versions 1.12.0 to before 1.12.5 Vulnerable ·HashiCorp
- cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* Versions 1.13.0 to before 1.13.1 Vulnerable ·HashiCorp
- cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* Versions 1.13.0 to before 1.13.1 Vulnerable ·HashiCorp
Remediation
- Fix · CNA Vault (HashiCorp) Fixed in 1.13.1, 1.12.5, 1.11.9
- Fix · CNA Vault Enterprise (HashiCorp) Fixed in 1.13.1, 1.12.5, 1.11.9
- Fix · GHSA-v3hp-mcj5-pg39 github.com/hashicorp/vault (Go) Fixed in 1.11.9 Advisory →
- Fix · GHSA-v3hp-mcj5-pg39 github.com/hashicorp/vault (Go) Fixed in 1.12.5 Advisory →
- Fix · GHSA-v3hp-mcj5-pg39 github.com/hashicorp/vault (Go) Fixed in 1.13.1 Advisory →
Red Hat 3 advisories
- RHSA-2023:5006 Released 2023-10-31 · Red Hat rating ImportantOpenShift Container Platform 4.14.0 bug fix and security update
- Red Hat OpenShift Container Platform 4.14 openshift4/cloud-network-config-controller-rhel8, openshift4/driver-toolkit-rhel9, openshift4/egress-router-cni-rhel8 +47
- RHSA-2023:3742 Released 2023-06-21 · Red Hat rating ImportantRed Hat OpenShift Data Foundation 4.13.0 security and bug fix update
- RHODF 4.13 for RHEL 9 odf4/cephcsi-rhel9, odf4/mcg-core-rhel9, odf4/mcg-rhel9-operator +7
- RHSA-2023:1326 Released 2023-05-17 · Red Hat rating ImportantOpenShift Container Platform 4.13.0 security update
- Red Hat OpenShift Container Platform 4.13 openshift4/cloud-network-config-controller-rhel8, openshift4/egress-router-cni-rhel8, openshift4/kubevirt-csi-driver-rhel8 +47
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
HashiCorp Vault, Vault Enterprise 1.11.9, 1.12.5, 1.13.1
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2023-00630 Vault PKI Issuer Endpoint Did Not Correctly Authorize Access to Issuer MetadataPriority LOW 35
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Openshift Container Storage 4 | Affected | No fix planned: Out of support scope |
| Red Hat Openshift Data Foundation 4 | Affected | No fix yet |
| RHODF 4.13 for RHEL 9 | Fixed | RHSA-2023:3742 |
| Red Hat OpenShift Container Platform 4.13 | Fixed | RHSA-2023:1326 |
| Red Hat OpenShift Container Platform 4.14 | Fixed | RHSA-2023:5006 |
Not affected: 6 products
- Logging Subsystem for Red Hat OpenShift
- RHODF 4.13 for RHEL 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 4.13
- Red Hat OpenShift Container Platform 4.14
- Red Hat Openshift Data Foundation 4
Timeline
- 2026-10-02 Threatist record created from CVE-2023-0620
- 2026-10-03 Alias added: GHSA-v3hp-mcj5-pg39
- 2026-11-04 Fix available: RHODF 4.13 for RHEL 9, Red Hat OpenShift Container Platform 4.13, Red Hat OpenShift Container Platform 4.14 · Red Hat
- 2026-11-04 CVSS score added · Red Hat
References
Other 7
- https://security.netapp.com/advisory/ntap-20230526-0008/
- https://github.com/hashicorp/vault/pull/19591
- https://github.com/hashicorp/vault
- https://github.com/hashicorp/vault/releases/tag/v1.11.9
- https://github.com/hashicorp/vault/releases/tag/v1.12.5
- https://github.com/hashicorp/vault/releases/tag/v1.13.1
- https://security.netapp.com/advisory/ntap-20230526-0008
More HashiCorp Vault vulnerabilities
- TI-2024-01904 Vault Cert Auth Method Did Not Correctly Validate Non-CA Certificates CVSS 3.1CRITICAL 9.8
- TI-2022-19053 An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3. CVSS 3.1CRITICAL 9.1
- TI-2020-17874 The official vault docker images before 0.11.6 contain a blank password for a root user. CVSS 3.1CRITICAL 9.8
- TI-2020-10142 HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP… CVSS 3.1CRITICAL 9.8
- TI-2026-04407 Vault Vulnerable to Server-Side Request Forgery in ACME Challenge Validation via Attacker-Controlled DNS CVSS 3.1HIGH 8.6
- TI-2025-05421 Arbitrary Remote Code Execution via Plugin Catalog Abuse CVSS 3.1CRITICAL 9.1
Sources
- CVE-2023-0620 · CVE Program
- CVE-2023-0620 · NVD
- FIRST EPSS
- GHSA-v3hp-mcj5-pg39 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-0620 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences