{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-2121",
        "assignerOrgId": "67fedba0-ff2e-4543-ba5b-aa93e87718cc",
        "state": "PUBLISHED",
        "assignerShortName": "HashiCorp",
        "dateReserved": "2023-04-17T14:51:51.916Z",
        "datePublished": "2023-06-09T16:59:49.065Z",
        "dateUpdated": "2024-08-02T06:12:20.468Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "67fedba0-ff2e-4543-ba5b-aa93e87718cc",
                "shortName": "HashiCorp",
                "dateUpdated": "2023-06-09T16:59:49.065Z"
            },
            "title": "Vault’s KV Diff Viewer Allowed for HTML Injection",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-79",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "HashiCorp",
                    "product": "Vault",
                    "platforms": [
                        "Windows",
                        "MacOS",
                        "Linux",
                        "x86",
                        "ARM",
                        "64 bit",
                        "32 bit"
                    ],
                    "repo": "https://github.com/hashicorp/vault",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "1.13.0",
                            "lessThan": "1.13.3",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "1.12.0",
                            "lessThan": "1.12.7",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "1.11.0",
                            "lessThan": "1.11.11",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "1.10.0",
                            "lessThan": "1.11.0",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                },
                {
                    "vendor": "HashiCorp",
                    "product": "Vault Enterprise",
                    "platforms": [
                        "Windows",
                        "MacOS",
                        "Linux",
                        "x86",
                        "ARM",
                        "64 bit",
                        "32 bit"
                    ],
                    "versions": [
                        {
                            "status": "affected",
                            "version": "1.13.0",
                            "lessThan": "1.13.3",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "1.12.0",
                            "lessThan": "1.12.7",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "1.11.0",
                            "lessThan": "1.11.11",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "1.10.0",
                            "lessThan": "1.11.0",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "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."
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://discuss.hashicorp.com/t/hcsec-2023-17-vault-s-kv-diff-viewer-allowed-html-injection/54814"
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "NONE",
                        "baseSeverity": "MEDIUM",
                        "baseScore": 4.3,
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
                    }
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T06:12:20.468Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://discuss.hashicorp.com/t/hcsec-2023-17-vault-s-kv-diff-viewer-allowed-html-injection/54814",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}