CWE
89
Advisory Published
Advisory Published
Updated

CVE-2023-0620: SQL Injection

First published: Thu Mar 30 2023(Updated: )

HashiCorp Vault and Vault Enterprise versions 0.8.0 until 1.13.1 are vulnerable to an SQL injection attack when using the Microsoft SQL (MSSQL) Database Storage Backend. When configuring the MSSQL plugin, certain parameters are required to establish a connection (schema, database, and table) are not sanitized when passed to the user-provided MSSQL database. A privileged attacker with the ability to write arbitrary data to Vault's configuration may modify these parameters to execute a malicious SQL command when the Vault configuration is applied. This issue is fixed in versions 1.13.1, 1.12.5, and 1.11.9.

Credit: security@hashicorp.com

Affected SoftwareAffected VersionHow to fix
HashiCorp Vault<1.11.9
HashiCorp Vault<1.11.9
HashiCorp Vault>=1.12.0<1.12.5
HashiCorp Vault>=1.12.0<1.12.5
HashiCorp Vault>=1.13.0<1.13.1
HashiCorp Vault>=1.13.0<1.13.1
redhat/Vault<1.13.1
1.13.1
redhat/Vault<1.12.5
1.12.5
redhat/and<1.11.9
1.11.9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2023-0620?

    CVE-2023-0620 is a vulnerability in HashiCorp Vault and Vault Enterprise that allows SQL injection attacks when using the Microsoft SQL Database Storage Backend.

  • Which versions of HashiCorp Vault and Vault Enterprise are affected by CVE-2023-0620?

    Versions 0.8.0 until 1.13.1 of HashiCorp Vault and Vault Enterprise are affected by CVE-2023-0620.

  • What is the severity of CVE-2023-0620?

    CVE-2023-0620 has a severity rating of 6.7 (medium).

  • How can I fix CVE-2023-0620?

    To fix CVE-2023-0620, upgrade to a version of HashiCorp Vault and Vault Enterprise that is not affected by the vulnerability.

  • Where can I find more information about CVE-2023-0620?

    You can find more information about CVE-2023-0620 on the National Vulnerability Database (NVD) website, the HashiCorp forums, and the GitHub repository for HashiCorp Vault.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203