PT-2024-31745 · Unknown · Trusted Firmware-M

Johannes Willbold

+2

·

Published

2024-10-09

·

Updated

2024-10-13

·

CVE-2024-45746

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Trusted Firmware-M versions through 2.1.0
Description: An issue was discovered where user-provided mailbox messages contain a pointer to a list of input arguments (in vec) and output arguments (out vec) that 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, allowing an attacker to write anywhere in the secure firmware. This can be used to take over the control flow, leading to remote code execution (RCE).
Recommendations: For versions through 2.1.0, update to the latest release to mitigate risks. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Buffer Overflow

Weakness Enumeration

Related Identifiers

CVE-2024-45746

Affected Products

Trusted Firmware-M