{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-4680",
        "ASSIGNER": "security@hashicorp.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "HashiCorp Vault and Vault Enterprise transit secrets engine allowed authorized users to specify arbitrary nonces, even with convergent encryption disabled. The encrypt endpoint, in combination with an offline attack, could be used to decrypt arbitrary ciphertext and potentially derive the authentication subkey when using transit secrets engine without convergent encryption. Introduced in 1.6.0 and fixed in 1.14.3, 1.13.7, and 1.12.11."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-323: Reusing a Nonce, Key Pair in Encryption",
                        "cweId": "CWE-323"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "HashiCorp",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Vault",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "1.14.0",
                                            "version_value": "1.14.3"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "1.13.0",
                                            "version_value": "1.13.7"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "1.12.0",
                                            "version_value": "1.12.11"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "1.6.0",
                                            "version_value": "1.12.0"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "Vault Enterprise",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "1.14.0",
                                            "version_value": "1.14.3"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "1.13.0",
                                            "version_value": "1.13.7"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "1.12.0",
                                            "version_value": "1.12.11"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "1.6.0",
                                            "version_value": "1.12.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://discuss.hashicorp.com/t/hcsec-2023-28-vault-s-transit-secrets-engine-allowed-nonce-specified-without-convergent-encryption/58249",
                "refsource": "MISC",
                "name": "https://discuss.hashicorp.com/t/hcsec-2023-28-vault-s-transit-secrets-engine-allowed-nonce-specified-without-convergent-encryption/58249"
            }
        ]
    },
    "source": {
        "advisory": "HCSEC-2023-28",
        "discovery": "EXTERNAL"
    },
    "impact": {
        "cvss": [
            {
                "baseScore": 6.8,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
                "version": "3.1"
            }
        ]
    }
}