CVE-2023-2121 json
Vault’s KV Diff Viewer Allowed for HTML Injection
published 2023-06-09 3 y ago modified 2026-09-10 1 mo ago also BIT-vault-2023-2121 , EUVD-2023-1807 , GHSA-gq98-53rq-qr5h , GO-2023-1849
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/hashicorp/vault 1.11.11, 1.12.7, 1.13.3
- bitnami vault 1.11.11, 1.12.7, 1.13.3
- HashiCorp Vault 1.11.0, 1.11.11, 1.12.7, 1.13.3
- HashiCorp Vault Enterprise 1.11.0, 1.11.11, 1.12.7, 1.13.3
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-2121 updated cvss 4.3
hashicorp: html injection into web ui
-
Red Hat OpenShift Container Platform 4 openshift4/ose-installeraffected: no fix planned “Will not fix”
-
Red Hat Openshift Container Storage 4 ocs4/cephcsi-rhel8, ocs4/mcg-rhel8-operator, ocs4/ocs-rhel8-operator, ocs4/rook-ceph-rhel8-operatoraffected: no fix planned “Out of support scope”
-
Red Hat Openshift Data Foundation 4 odf4/mcg-rhel9-operator, odf4/odf-rhel8-operator, odf4/odr-rhel9-operator, odf4/rook-ceph-rhel9-operator, odf4/ocs-client-rhel8-operator, odf4/odf-multicluster-rhel9-operatoraffected: no fix available, no fix planned “Will not fix”
-
Red Hat RHODF 4.14 for RHEL 9 odf4/ocs-rhel9-operator v4.14.0-67fixed: vendor fix RHSA-2023:6832
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel8 Red Hat OpenShift Container Platform 4 openshift4/topology-aware-lifecycle-manager-rhel8-operator Red Hat Openshift Data Foundation 4 odf4/cephcsi-rhel9 Red Hat RHODF 4.14 for RHEL 9 odf4/cephcsi-rhel9 v4.14.0-29, odf4/mcg-cli-rhel9 v4.14.0-44, odf4/mcg-core-rhel9 v4.14.0-63, odf4/odf-console-rhel9 v4.14.0-77, odf4/mcg-rhel9-operator v4.14.0-43, odf4/odf-rhel9-operator v4.14.0-18, +19 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 22 mo ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/hashicorp/vault | <1.11.11 >=1.12.0, <1.12.7 >=1.13.0, <1.13.3 |
1.11.11 1.12.7 1.13.3 |
| bitnami | vault | <1.11.11 >=1.12.0, <1.12.7 >=1.13.0, <1.13.3 |
1.11.11 1.12.7 1.13.3 |
Affected products
- HashiCorp Vault
- HashiCorp Vault Enterprise
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
discuss.hashicorp.com
/t/hcsec-2023-17-vault-s-kv-diff-viewer-allowed-html-injection/54814
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-2121
advisory, web
-
github.com
/hashicorp/vault
package
-
github.com
/advisories/GHSA-gq98-53rq-qr5h
advisory
Sources
- CVE List CVE-2023-2121
- GitHub Advisory GHSA-gq98-53rq-qr5h
- NVD CVE-2023-2121
- OSV BIT-vault-2023-2121
- OSV GO-2023-1849
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.