Vulnerability Description
An issue was discovered in Trusted Firmware-M through 2.1.0. User provided (and controlled) mailbox messages contain a pointer to a list of input arguments (in_vec) and output arguments (out_vec). These list pointers are never validated. Each argument list contains a buffer pointer and a buffer length field. After a PSA call, the length of the output arguments behind the unchecked pointer is updated in mailbox_direct_reply, regardless of the call result. This allows an attacker to write anywhere in the secure firmware, which can be used to take over the control flow, leading to remote code execution (RCE).
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://trustedfirmware-m.readthedocs.io/en/latest/security/security_advisories/
- https://www.trustedfirmware.org/projects/tf-m/
FAQ
What is CVE-2024-45746?
CVE-2024-45746 is a vulnerability with a CVSS score of 9.8 (CRITICAL). An issue was discovered in Trusted Firmware-M through 2.1.0. User provided (and controlled) mailbox messages contain a pointer to a list of input arguments (in_vec) and output arguments (out_vec). The...
How severe is CVE-2024-45746?
CVE-2024-45746 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-45746?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.