{"id":"CVE-2024-2048","summary":"Vault Cert Auth Method Did Not Correctly Validate Non-CA Certificates","details":"Vault and Vault Enterprise (“Vault”) TLS certificate auth method did not correctly validate client certificates when configured with a non-CA certificate as trusted certificate. In this configuration, an attacker may be able to craft a malicious certificate that could be used to bypass authentication. Fixed in Vault 1.15.5 and 1.14.10.","aliases":["BIT-vault-2024-2048","GHSA-r3w7-mfpm-c2vw","GO-2024-2617"],"modified":"2026-08-12T03:51:46.007403266Z","published":"2024-03-04T19:56:47.253Z","related":["CGA-rm8j-r4jg-5482"],"database_specific":{"cna_assigner":"HashiCorp","cwe_ids":["CWE-295"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2048.json"},"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-05-vault-cert-auth-method-did-not-correctly-validate-non-ca-certificates/63382"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2048.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2048"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240524-0009/"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hashicorp/vault","events":[{"introduced":"0d8b67ef63815f20421c11fe9152d435af3403e6"},{"fixed":"c20eae3e84c55bf5180ac890b83ee81c9d7ded8b"}],"database_specific":{"extracted_events":[{"introduced":"1.15.5"},{"fixed":"1.16.0"}],"source":"AFFECTED_FIELD"}},{"type":"GIT","repo":"https://github.com/openbao/openbao","events":[{"introduced":"0"},{"fixed":"700fe3f27ab1f0ec39ce20c36f6d9d97c9fe6ac3"}],"database_specific":{"cpe":"cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.0.0"}],"source":"CPE_RANGE"}}],"versions":["v2.0.0-beta20240618","sdk/v1.100.0-development20240408","api/v1.100.0-development20240408","api/auth/userpass/v1.1.0-development20240408","api/auth/ldap/v1.1.0-development20240408","api/auth/kubernetes/v1.1.0-development20240408","api/auth/gcp/v1.1.0-development20240408","api/auth/azure/v1.1.0-development20240408","api/auth/aws/v1.1.0-development20240408","api/auth/approle/v1.1.0-development20240408","v2.0.0-alpha20240329","before-plugin-removal","api/auth/userpass/v0.4.1","api/auth/gcp/v0.4.1","api/auth/azure/v0.4.1","api/auth/aws/v0.4.1","api/auth/approle/v0.4.1","sdk/v0.9.1","api/v1.9.2","api/v1.9.1","sdk/v0.9.0","api/auth/userpass/v0.4.0","api/auth/gcp/v0.4.0","api/auth/azure/v0.4.0","api/auth/aws/v0.4.0","api/auth/approle/v0.4.0","sdk/v0.8.0","api/v1.9.0","api/v1.8.3","sdk/v0.7.0","sdk/v0.6.2","sdk/v0.6.1","api/v1.8.2","api/v1.8.1","api/auth/userpass/v0.3.0","api/auth/gcp/v0.3.0","api/auth/azure/v0.3.0","api/auth/aws/v0.3.0","api/auth/approle/v0.3.0","api/v1.8.0","sdk/v0.6.0","api/auth/userpass/v0.2.0","api/auth/gcp/v0.2.0","api/auth/azure/v0.2.0","api/auth/aws/v0.2.0","api/auth/approle/v0.2.0","sdk/v0.5.3","api/v1.7.2","sdk/v0.5.1","api/v1.7.1","api/v1.7.0","api/v1.6.0","sdk/v0.5.0","api/v1.5.0","sdk/v0.4.1","api/v1.3.1","api/auth/approle/v0.1.1","api/auth/gcp/v0.1.0","api/auth/azure/v0.1.0","api/auth/userpass/v0.1.0","api/auth/aws/v0.1.0","api/auth/approle/v0.1.0","sdk/v0.3.0","api/v1.2.0","api/v1.1.1","sdk/v0.2.1","api/v1.0.4","sdk/v0.1.13","api/v1.0.3","sdk/v0.1.12","sdk/v0.1.11","sdk/v0.1.10","api/v1.0.2","sdk/v0.1.9","api/v1.0.1","sdk/v0.1.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-2048.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}