Skip to content
OpenAdvisories
Medium · 4.3 CVE-2023-2121 BIT-vault-2023-2121EUVD-2023-1807GHSA-gq98-53rq-qr5hGO-2023-1849

Vault’s KV Diff Viewer Allowed for HTML Injection

Published Jun 9, 2023 · Updated Jan 6, 2025 · Assigned by HashiCorp

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 products

VendorProductAffectedFixed
HashiCorp Vault 1.13.0 – < 1.13.3, 1.12.0 – < 1.12.7, 1.11.0 – < 1.11.11, 1.10.0 – < 1.11.0 1.13.3
HashiCorp Vault Enterprise 1.13.0 – < 1.13.3, 1.12.0 – < 1.12.7, 1.11.0 – < 1.11.11, 1.10.0 – < 1.11.0 1.13.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling k3d +2 5.6.0-r11 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/vault < 1.11.11 1.11.11 GHSA-gq98-53rq-qr5h
Go github.com/hashicorp/vault >= 1.12.0, < 1.12.7 1.12.7 GHSA-gq98-53rq-qr5h
Go github.com/hashicorp/vault >= 1.13.0, < 1.13.3 1.13.3 GHSA-gq98-53rq-qr5h
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 GO-2023-1849

Advisories 1

References