Vulnerability · Published Jun 9, 2023 · Assigned by HashiCorp

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

Medium 4.3

In plain English

A medium-severity cross-site scripting in Vault from HashiCorp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.4%top 63.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/hashicorp/vault1.11.11GHSA-gq98-53rq-qr5h
Gogithub.com/hashicorp/vault1.12.7GHSA-gq98-53rq-qr5h
Gogithub.com/hashicorp/vault1.13.3GHSA-gq98-53rq-qr5h
Gogithub.com/hashicorp/vault1.11.11, 1.12.7, 1.13.3GO-2023-1849

Affected products (as reported)

VendorProductVersions
HashiCorp Vault 1.13.0 – before 1.13.31.12.0 – before 1.12.71.11.0 – before 1.11.111.10.0 – before 1.11.0
HashiCorp Vault Enterprise 1.13.0 – before 1.13.31.12.0 – before 1.12.71.11.0 – before 1.11.111.10.0 – before 1.11.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

References