Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/hashicorp/vault: GHSA-v3hp-mcj5-pg39 #1685

Closed
GoVulnBot opened this issue Mar 30, 2023 · 3 comments
Assignees
Labels
excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module.

Comments

@GoVulnBot
Copy link

In GitHub Security Advisory GHSA-v3hp-mcj5-pg39, there is a vulnerability in the following Go packages or modules:

Unit Fixed Vulnerable Ranges
github.com/hashicorp/vault 1.13.1 >= 1.13.0, < 1.13.1

Cross references:

See doc/triage.md for instructions on how to triage this report.

modules:
  - module: github.com/hashicorp/vault
    versions:
      - introduced: 1.13.0
        fixed: 1.13.1
    packages:
      - package: github.com/hashicorp/vault
  - module: github.com/hashicorp/vault
    versions:
      - introduced: 1.12.0
        fixed: 1.12.5
    packages:
      - package: github.com/hashicorp/vault
  - module: github.com/hashicorp/vault
    versions:
      - introduced: 0.8.0
        fixed: 1.11.9
    packages:
      - package: github.com/hashicorp/vault
summary: HashiCorp Vault’s Microsoft SQL Database Storage Backend Vulnerable to SQL
    Injection Via Configuration File
description: 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.
cves:
  - CVE-2023-0620
ghsas:
  - GHSA-v3hp-mcj5-pg39
references:
  - web: https://nvd.nist.gov/vuln/detail/CVE-2023-0620
  - web: https://discuss.hashicorp.com/t/hcsec-2023-12-vault-s-microsoft-sql-database-storage-backend-vulnerable-to-sql-injection-via-configuration-file/52080/1
  - fix: https://github.com/hashicorp/vault/pull/19591
  - web: https://github.com/hashicorp/vault/releases/tag/v1.11.9
  - web: https://github.com/hashicorp/vault/releases/tag/v1.12.5
  - web: https://github.com/hashicorp/vault/releases/tag/v1.13.1
  - advisory: https://github.com/advisories/GHSA-v3hp-mcj5-pg39

@tatianab tatianab self-assigned this Apr 4, 2023
@tatianab tatianab added NeedsReport excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module. and removed NeedsReport labels Apr 4, 2023
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/482615 mentions this issue: data/excluded: batch add GO-2023-1701, GO-2023-1700, GO-2023-1699, GO-2023-1687, GO-2023-1685, GO-2023-1695, GO-2023-1694, GO-2023-1693, GO-2023-1692, GO-2023-1691, GO-2023-1690

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/592760 mentions this issue: data/reports: unexclude 75 reports

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/606784 mentions this issue: data/reports: unexclude 20 reports (4)

gopherbot pushed a commit that referenced this issue Aug 20, 2024
  - data/reports/GO-2023-1643.yaml
  - data/reports/GO-2023-1644.yaml
  - data/reports/GO-2023-1651.yaml
  - data/reports/GO-2023-1652.yaml
  - data/reports/GO-2023-1653.yaml
  - data/reports/GO-2023-1654.yaml
  - data/reports/GO-2023-1655.yaml
  - data/reports/GO-2023-1656.yaml
  - data/reports/GO-2023-1657.yaml
  - data/reports/GO-2023-1658.yaml
  - data/reports/GO-2023-1659.yaml
  - data/reports/GO-2023-1660.yaml
  - data/reports/GO-2023-1661.yaml
  - data/reports/GO-2023-1662.yaml
  - data/reports/GO-2023-1670.yaml
  - data/reports/GO-2023-1671.yaml
  - data/reports/GO-2023-1682.yaml
  - data/reports/GO-2023-1683.yaml
  - data/reports/GO-2023-1685.yaml
  - data/reports/GO-2023-1699.yaml

Updates #1643
Updates #1644
Updates #1651
Updates #1652
Updates #1653
Updates #1654
Updates #1655
Updates #1656
Updates #1657
Updates #1658
Updates #1659
Updates #1660
Updates #1661
Updates #1662
Updates #1670
Updates #1671
Updates #1682
Updates #1683
Updates #1685
Updates #1699

Change-Id: Iddcfb6c5438e03827049eecbf0a95fae6c078436
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/606784
Reviewed-by: Damien Neil <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Auto-Submit: Tatiana Bradley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module.
Projects
None yet
Development

No branches or pull requests

3 participants