Live threats

All CVEs / Hashicorp

CVE-2023-2121Hashicorp Vault

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.5%
probability of exploitation in 30 days · percentile 34
Auth required
Yes
Published
Jun 9, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

Vault and Vault Enterprise's (Vault) key-value v2 (kv-v2) diff viewer allowed HTML injection into the Vault web UI through key values. This vulnerability, CVE-2023-2121, is fixed in Vault 1.14.0, 1.13.3, 1.12.7, and 1.11.11.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vault.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/hashicorp/vault < 1.11.11 1.11.11 go get github.com/hashicorp/vault@v1.11.11
Go github.com/hashicorp/vault ≥ 1.12.0 < 1.12.7 1.12.7 go get github.com/hashicorp/vault@v1.12.7
Go github.com/hashicorp/vault ≥ 1.13.0 < 1.13.3 1.13.3 go get github.com/hashicorp/vault@v1.13.3
Go github.com/hashicorp/vault < 1.11.11 1.11.11 go get github.com/hashicorp/vault@v1.11.11
Go github.com/hashicorp/vault ≥ 1.12.0 < 1.12.7 1.12.7 go get github.com/hashicorp/vault@v1.12.7
Go github.com/hashicorp/vault ≥ 1.13.0 < 1.13.3 1.13.3 go get github.com/hashicorp/vault@v1.13.3

Per OSV / GitHub Advisories (GHSA-gq98-53rq-qr5h, GO-2023-1849). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hashicorpvault< 1.11.11
hashicorpvault< 1.11.11
hashicorpvault≥ 1.12.0 < 1.12.7
hashicorpvault≥ 1.12.0 < 1.12.7
hashicorpvault≥ 1.13.0 < 1.13.3
hashicorpvault≥ 1.13.0 < 1.13.3

Official sources

References

Links published by the sources. Open them with care.