Vulnerability in Linux
CVE-2024-45004
In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: dcp: fix leak of blob encryption key Trusted keys unseal the key blob on load, but keep the sealed payload in the blob field so that every subsequent read (export) will simply convert this field to hex and send it to userspace. With DCP-based trusted keys, we decrypt the blob encryption key (BEK) in the Kernel due hardware limitations and then decrypt the blob payload. BEK decryption is done in-place which means that the trusted key blob field is modified and it consequently holds the BEK in plain text. Every subsequent read of that key thus send the plain text BEK instead of the encrypted BEK to userspace. This issue only occurs when importing a trusted DCP-based key and then exporting it again. This should rarely happen as the common use cases are to either create a new trusted key and export it, or import a key blob and then just use it without exporting it again. Fix this by performing BEK decryption and encryption in a dedicated buffer. Further always wipe the plain text BEK buffer to prevent leaking the key via uninitialized memory.
EPSS: 0.001 (1.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Linux — versions 2e8a0f40a39cc253002f21c54e1b5b995e5ec510, 6.10, 0
- Linux Linux_kernel — versions 6.11
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-45004?
- CVE-2024-45004 is a medium-severity vulnerability in Linux, classified under Cleartext Storage of Sensitive Information. CVSS score: 5.5/10. Published 2024-09-04.
- How severe is CVE-2024-45004?
- Medium severity. CVSS v3 base score is 5.5 out of 10.