{"id":"CVE-2024-8365","state":"PUBLISHED","title":"Vault Leaks AppRole Client Tokens And Accessor in Audit Log","description":"Vault Community Edition and Vault Enterprise experienced a regression where functionality that HMAC’d sensitive headers in the configured audit device, specifically client tokens and token accessors, was removed. This resulted in the plaintext values of client tokens and token accessors being stored in the audit log. This vulnerability, CVE-2024-8365, was fixed in Vault Community Edition and Vault Enterprise 1.17.5 and Vault Enterprise 1.16.9.","publishedAt":"2024-09-02T01:30:56.618Z","updatedAt":"2024-09-04T17:18:36.980Z","severity":{"score":6.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N","source":"HashiCorp"},"assigner":"HashiCorp","products":["HashiCorp Vault","HashiCorp Vault Enterprise"],"affected":[{"vendor":"HashiCorp","product":"Vault","defaultStatus":"unaffected","versions":[{"version":"1.17.3","status":"affected","lessThan":"1.17.5","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/vault"},{"vendor":"HashiCorp","product":"Vault Enterprise","defaultStatus":"unaffected","versions":[{"version":"1.16.7","status":"affected","lessThan":"1.17.5","changes":[{"at":"1.16.9","status":"unaffected"},{"at":"1.17.3","status":"unaffected"}],"versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/vault"}],"references":["https://discuss.hashicorp.com/t/hcsec-2024-18-vault-leaks-client-token-and-token-accessor-in-audit-devices/"],"weaknesses":["CWE-532"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/8xxx/CVE-2024-8365.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-8365","state":"PUBLISHED","datePublished":"2024-09-02T01:30:56.618Z","dateUpdated":"2024-09-04T17:18:36.980Z","assignerShortName":"HashiCorp","assignerOrgId":"67fedba0-ff2e-4543-ba5b-aa93e87718cc","dateReserved":"2024-08-30T22:54:58.745Z"},"containers":{"cna":{"title":"Vault Leaks AppRole Client Tokens And Accessor in Audit Log","descriptions":[{"lang":"en","value":"Vault Community Edition and Vault Enterprise experienced a regression where functionality that HMAC’d sensitive headers in the configured audit device, specifically client tokens and token accessors, was removed. This resulted in the plaintext values of client tokens and token accessors being stored in the audit log. This vulnerability, CVE-2024-8365, was fixed in Vault Community Edition and Vault Enterprise 1.17.5 and Vault Enterprise 1.16.9."}],"affected":[{"vendor":"HashiCorp","product":"Vault","defaultStatus":"unaffected","versions":[{"version":"1.17.3","status":"affected","lessThan":"1.17.5","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/vault"},{"vendor":"HashiCorp","product":"Vault Enterprise","defaultStatus":"unaffected","versions":[{"version":"1.16.7","status":"affected","lessThan":"1.17.5","changes":[{"at":"1.16.9","status":"unaffected"},{"at":"1.17.3","status":"unaffected"}],"versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/vault"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2024-18-vault-leaks-client-token-and-token-accessor-in-audit-devices/"}],"metrics":[{"cvssV3_1":{"baseScore":6.2,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-532","description":"CWE-532: Insertion of Sensitive Information into Log File","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"HashiCorp","orgId":"67fedba0-ff2e-4543-ba5b-aa93e87718cc","dateUpdated":"2024-09-04T17:18:36.980Z"},"impacts":[{"capecId":"CAPEC-118","descriptions":[{"lang":"en","value":"CAPEC-118: Collect and Analyze Information"}]}],"source":{"advisory":"HCSEC-2024-HCSEC-2024-18","discovery":"INTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-03T13:51:10.738646Z","id":"CVE-2024-8365","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-03T13:51:51.953Z"}}]}}}