CVE-2023-2121Hashicorp Vault
Medium 5.4
Follow: this CVE · Hashicorp · Hashicorp Vault We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Vault.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | vault | < 1.11.11 |
| hashicorp | vault | < 1.11.11 |
| hashicorp | vault | ≥ 1.12.0 < 1.12.7 |
| hashicorp | vault | ≥ 1.12.0 < 1.12.7 |
| hashicorp | vault | ≥ 1.13.0 < 1.13.3 |
| hashicorp | vault | ≥ 1.13.0 < 1.13.3 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory