Skip to content

CVE-2023-2121 Vault’s KV Diff Viewer Allowed for HTML Injection

MediumCVSS 5.4 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
hashicorp github.com/hashicorp/vault < 1.11.11; >= 1.10.0, < 1.11.0; >= 1.11.0, < 1.11.11; >= 1.12.0, < 1.12.7 +1 more 1.11.0, 1.11.11, 1.12.7, 1.13.3 Fixed
hashicorp github.com/hashicorp/vault(Go) < 1.11.11; >= 1.12.0, < 1.12.7; >= 1.13.0, < 1.13.3 1.11.11, 1.12.7, 1.13.3 Fixed
hashicorp Vault Enterprise >= 1.10.0, < 1.11.0; >= 1.11.0, < 1.11.11; >= 1.12.0, < 1.12.7; >= 1.13.0, < 1.13.3 1.11.0, 1.11.11, 1.12.7, 1.13.3 Fixed

Affected products

ProductAffected versionsFixed in
hashicorp github.com/hashicorp/vault(Go) < 1.11.11 1.11.11
hashicorp github.com/hashicorp/vault(Go) >= 1.12.0, < 1.12.7 1.12.7
hashicorp github.com/hashicorp/vault(Go) >= 1.13.0, < 1.13.3 1.13.3
hashicorp github.com/hashicorp/vault >= 1.13.0, < 1.13.3 1.13.3
hashicorp github.com/hashicorp/vault >= 1.12.0, < 1.12.7 1.12.7
hashicorp github.com/hashicorp/vault >= 1.11.0, < 1.11.11 1.11.11
hashicorp github.com/hashicorp/vault >= 1.10.0, < 1.11.0 1.11.0
hashicorp Vault Enterprise >= 1.13.0, < 1.13.3 1.13.3
hashicorp Vault Enterprise >= 1.12.0, < 1.12.7 1.12.7
hashicorp Vault Enterprise >= 1.11.0, < 1.11.11 1.11.11
hashicorp Vault Enterprise >= 1.10.0, < 1.11.0 1.11.0
hashicorp github.com/hashicorp/vault < 1.11.11 1.11.11

References