Live threats

All CVEs / Trustedfirmware

CVE-2023-40271Trustedfirmware Trusted Firmware-m

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.4%
probability of exploitation in 30 days · percentile 29
Auth required
No
Published
Sep 8, 2023
Updated
Jun 17, 2026
Category
Operating system · Cross-platform
Weakness (CWE)
CWE-697
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

In Trusted Firmware-M through TF-Mv1.8.0, for platforms that integrate the CryptoCell accelerator, when the CryptoCell PSA Driver software Interface is selected, and the Authenticated Encryption with Associated Data Chacha20-Poly1305 algorithm is used, with the single-part verification function (defined during the build-time configuration phase) implemented with a dedicated function (i.e., not relying on usage of multipart functions), the buffer comparison during the verification of the authentication tag does not happen on the full 16 bytes but just on the first 4 bytes, thus leading to the possibility that unauthenticated payloads might be identified as authentic. This affects TF-Mv1.6.0, TF-Mv1.6.1, TF-Mv1.7.0, and TF-Mv1.8.

Original NVD text.

What to do

  1. Apply the vendor's security update for Trusted Firmware-m.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
trustedfirmwaretrusted_firmware-m1.6.0
trustedfirmwaretrusted_firmware-m1.6.1
trustedfirmwaretrusted_firmware-m1.7.0
trustedfirmwaretrusted_firmware-m1.8.0

Official sources

References

Links published by the sources. Open them with care.