CVE-2024-45746

An issue was discovered in Trusted Firmware-M through 2.1.0

Critical · published October 9, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
56.5
In the wild
Unconfirmed
What it is

🔥 A sneaky pointer oversight opens the door for full remote code execution in Trusted Firmware-M versions up to 2.1.0! Think of it as a delivery driver who’s given a package without checking the address — they might end up delivering to the wrong destination, or worse, tampering with the contents. That unchecked pointer is like a blank check for an attacker to write anywhere they fancy in the firmware! An attacker could exploit this vulnerability to execute malicious code anywhere in the secure firmware. This means they could take control of critical operations, potentially leading to catastrophic consequences, such as breaching entire systems or gaining unauthorized access to sensitive information. It's not just a minor slip-up; it's a recipe for disaster!

Put simply

Think of it as a delivery driver who’s given a package without checking the address — they might end up delivering to the wrong destination, or worse, tampering with the contents. That unchecked pointer is like a blank check for an attacker to write anywhere they fancy in the firmware! This vulnerability in Trusted Firmware-M arises due to a lack of validation for user-controlled mailbox messages, allowing attackers to overwrite memory and execute arbitrary code within the secure firmware. The unchecked pointer to input and output arguments enables this critical breach during a PSA call, leading to remote code execution (RCE).

What to do

An attacker could exploit this vulnerability to execute malicious code anywhere in the secure firmware. This means they could take control of critical operations, potentially leading to catastrophic consequences, such as breaching entire systems or gaining unauthorized access to sensitive information. It's not just a minor slip-up; it's a recipe for disaster! To mitigate this, immediately upgrade to version 2.1.1 or later, where this issue has been addressed. Additionally, audit your use of mailbox messages and implement validation checks to safeguard against similar vulnerabilities. Don't leave anything unchecked! You've got this! By taking these steps, you'll strengthen your defenses and keep your firmware secure. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00810 · 56.5th percentile
Published
2024-10-09T00:00Z
EPSS history
Timeline
  • 09 OCT 00:00Z
    An issue was discovered in Trusted Firmware-M through 2.1.0
    cvelistv5