{"api_version":"1","generated_at":"2026-07-03T17:47:05+00:00","cve":"CVE-2021-40327","urls":{"html":"https://cve.report/CVE-2021-40327","api":"https://cve.report/api/cve/CVE-2021-40327.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-40327","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-40327"},"summary":{"title":"CVE-2021-40327","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2022-01-13 16:15:07","updated_at":"2026-06-05 20:36:28"},"problem_types":["CWE-862","n/a"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"2.6","severity":"","vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:H/Au:N/C:P/I:N/A:N","baseScore":2.6,"accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"https://tf-m-user-guide.trustedfirmware.org/docs/security/security_advisories/profile_small_key_id_encoding_vulnerability.html","name":"https://tf-m-user-guide.trustedfirmware.org/docs/security/security_advisories/profile_small_key_id_encoding_vulnerability.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Advisory TFMV-4 — Trusted Firmware-M v1.5.0+ (f07cc31) documentation","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/","name":"https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"trusted-firmware-m.git - Trusted Firmware for M profile Arm CPUs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://developer.arm.com/support/arm-security-updates","name":"https://developer.arm.com/support/arm-security-updates","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Arm Security Center","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40327","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40327","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"40327","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"trustedfirmware","cpe5":"trusted_firmware-m","cpe6":"1.4.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2021","cve_id":"40327","cve":"CVE-2021-40327","epss":"0.003300000","percentile":"0.563750000","score_date":"2026-06-11","updated_at":"2026-06-12 00:07:15"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-04T02:27:31.913Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://developer.arm.com/support/arm-security-updates"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://tf-m-user-guide.trustedfirmware.org/docs/security/security_advisories/profile_small_key_id_encoding_vulnerability.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2022-01-13T15:31:35.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://developer.arm.com/support/arm-security-updates"},{"tags":["x_refsource_MISC"],"url":"https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/"},{"tags":["x_refsource_CONFIRM"],"url":"https://tf-m-user-guide.trustedfirmware.org/docs/security/security_advisories/profile_small_key_id_encoding_vulnerability.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-40327","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://developer.arm.com/support/arm-security-updates","refsource":"MISC","url":"https://developer.arm.com/support/arm-security-updates"},{"name":"https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/","refsource":"MISC","url":"https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/"},{"name":"https://tf-m-user-guide.trustedfirmware.org/docs/security/security_advisories/profile_small_key_id_encoding_vulnerability.html","refsource":"CONFIRM","url":"https://tf-m-user-guide.trustedfirmware.org/docs/security/security_advisories/profile_small_key_id_encoding_vulnerability.html"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2021-40327","datePublished":"2022-01-13T15:31:35.000Z","dateReserved":"2021-08-30T00:00:00.000Z","dateUpdated":"2024-08-04T02:27:31.913Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2022-01-13 16:15:07","lastModifiedDate":"2026-06-05 20:36:28","problem_types":["CWE-862","n/a"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:H/Au:N/C:P/I:N/A:N","baseScore":2.6,"accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"LOW","exploitabilityScore":4.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:trustedfirmware:trusted_firmware-m:1.4.0:*:*:*:*:*:*:*","matchCriteriaId":"5BDBAD25-6E68-4DFE-8F25-F26BAD881032"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"40327","Ordinal":"1","Title":"CVE-2021-40327","CVE":"CVE-2021-40327","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"40327","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2021-40327"},{"CveYear":"2021","CveId":"40327","Ordinal":"2","NoteData":"2022-01-13","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"40327","Ordinal":"3","NoteData":"2022-01-13","Type":"Other","Title":"Modified"}]}}}