CVE-2021-40327
CVE-2021-40327 is a medium-severity vulnerability in Trustedfirmware Trusted Firmware-m with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-862.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- CVSS v2: 2.6
- EPSS exploit prediction: 1% (64th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-862
- Affected product: Trustedfirmware Trusted Firmware-m
- Published:
- Last modified:
Description
Trusted Firmware-M (TF-M) 1.4.0, when Profile Small is used, has incorrect access control. NSPE can access a secure key (held by the Crypto service) based solely on knowledge of its key ID. For example, there is no authorization check associated with the relationship between a caller and a key owner.
Frequently asked questions
- What is CVE-2021-40327?
- Trusted Firmware-M (TF-M) 1.4.0, when Profile Small is used, has incorrect access control. NSPE can access a secure key (held by the Crypto service) based solely on knowledge of its key ID. For example, there is no authorization check associated with the relationship between a caller and a key owner.
- How severe is CVE-2021-40327?
- CVE-2021-40327 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2021-40327 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (64th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-40327?
- CVE-2021-40327 affects Trustedfirmware Trusted Firmware-m. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-40327?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-40327 published?
- CVE-2021-40327 was published on 2022-01-13 and last updated on 2026-06-17.
References
- https://developer.arm.com/support/arm-security-updates
- https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/
- https://tf-m-user-guide.trustedfirmware.org/docs/security/security_advisories/profile_small_key_id_encoding_vulnerability.html
Affected products (1)
- cpe:2.3:o:trustedfirmware:trusted_firmware-m:1.4.0:*:*:*:*:*:*:*
More vulnerabilities in Trustedfirmware Trusted Firmware-m
- CVE-2021-43619 — High (CVSS 7.8): Trusted Firmware M 1.4.x through 1.4.1 has a buffer overflow issue in the Firmware Update partition. In the IPC model,…
- CVE-2023-40271 — High (CVSS 7.5): In Trusted Firmware-M through TF-Mv1.8.0, for platforms that integrate the CryptoCell accelerator, when the CryptoCell…
- CVE-2021-32032 — High (CVSS 7.5): In Trusted Firmware-M through 1.3.0, cleaning up the memory allocated for a multi-part cryptographic operation (in the…
- CVE-2021-27562 — Medium (CVSS 5.5): In Arm Trusted Firmware M through 1.2, the NS world may trigger a system halt, an overwrite of secure data, or the…
- CVE-2023-51712 — Medium (CVSS 4.7): An issue was discovered in Trusted Firmware-M through 2.0.0. The lack of argument verification in the logging subsystem…
All CVEs affecting Trustedfirmware Trusted Firmware-m →
Other CWE-862 (Missing Authorization) vulnerabilities
- CVE-2026-0092 — Critical (CVSS 10.0): In Package Manager, there is a possible device lock controller bypass due to a missing permission check. This could…
- CVE-2026-33712 — Critical (CVSS 10.0): Typebot is a chatbot builder tool. In versions 3.15.2 and prior, the preview chat endpoint (POST…
- CVE-2026-2031 — Critical (CVSS 10.0): An Improper Access Control vulnerability in several internal API endpoints for Google Cloud Application Integration…
- CVE-2026-34976 — Critical (CVSS 10.0): Dgraph is an open source distributed GraphQL database. Prior to 25.3.1, the restoreTenant admin mutation is missing…
- CVE-2025-30416 — Critical (CVSS 10.0): Sensitive data disclosure and manipulation due to missing authorization. The following products are affected: Acronis…
- CVE-2025-45854 — Critical (CVSS 10.0): /server/executeExec of JEHC-BPM 2.0.1 allows attackers to execute arbitrary code via execParams.
Browse all CWE-862 (Missing Authorization) vulnerabilities →