CVE-2023-41325
CVSS 3.1 Score 6.7 of 10 (medium)
Details
Summary
CVE-2023-41325 affects OP-TEE, a Trusted Execution Environment for Arm processors using the TrustZone technology. In versions 3.20 and prior to 3.22, the `shdr_verify_signature` function contains a double free vulnerability. This function is responsible for verifying the signature of a Trusted Application (TA) binary before it is loaded. The RSA key used for signature verification is allocated using `sw_crypto_acipher_alloc_rsa_public_key`, which may fail in allocating memory for the modulus part of the key. If this occurs, the function frees the memory allocated for the exponent, but the memory remains allocated for the modulus. `shdr_verify_signature` then frees the already-freed memory, leading to a heap buffer overflow. A patch is available in version 3.22, and no workarounds are currently known.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.
Affected Products
- Linaro OP-TEE
Affected Vendors
- Linaro