{"id":"UBUNTU-CVE-2021-40327","details":"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.","modified":"2026-04-08T13:39:10.819606Z","published":"2022-01-13T16:15:00Z","withdrawn":"2026-04-08T12:25:04Z","upstream":["CVE-2021-40327"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-40327"},{"type":"REPORT","url":"https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/"},{"type":"REPORT","url":"https://developer.arm.com/support/arm-security-updates"},{"type":"REPORT","url":"https://tf-m-user-guide.trustedfirmware.org/docs/security/security_advisories/profile_small_key_id_encoding_vulnerability.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-40327"}],"affected":[{"package":{"name":"arm-trusted-firmware","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/arm-trusted-firmware@2.2-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-3","2.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"arm-trusted-firmware","binary_version":"2.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40327.json"}},{"package":{"name":"arm-trusted-firmware","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/arm-trusted-firmware@2.6+dfsg-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5+dfsg-1","2.6+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6+dfsg-1","binary_name":"arm-trusted-firmware"},{"binary_name":"arm-trusted-firmware-tools","binary_version":"2.6+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40327.json"}},{"package":{"name":"arm-trusted-firmware","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/arm-trusted-firmware@2.10.0+dfsg-1build2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.0+dfsg-3","2.10.0+dfsg-1","2.10.0+dfsg-1build1","2.10.0+dfsg-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"arm-trusted-firmware","binary_version":"2.10.0+dfsg-1build2"},{"binary_name":"arm-trusted-firmware-tools","binary_version":"2.10.0+dfsg-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40327.json"}},{"package":{"name":"arm-trusted-firmware","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/arm-trusted-firmware@2.10.0+dfsg-1build2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.0+dfsg-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"arm-trusted-firmware","binary_version":"2.10.0+dfsg-1build2"},{"binary_name":"arm-trusted-firmware-tools","binary_version":"2.10.0+dfsg-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40327.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"high"}]}