{"containers":{"cna":{"affected":[{"product":"HarmonyOS;EMUI;Magic UI","vendor":"n/a","versions":[{"status":"affected","version":"HarmonyOS 2.0"},{"status":"affected","version":"EMUI 11.0.0,EMUI 10.1.1,EMUI 10.1.0,EMUI 10.0.0"},{"status":"affected","version":"Magic UI 4.0.0,Magic UI 3.1.1,Magic UI 3.1.0,Magic UI 3.0.0"}]}],"descriptions":[{"lang":"en","value":"Vulnerability of writing data to an arbitrary address in the HW_KEYMASTER module. Successful exploitation of this vulnerability may affect confidentiality."}],"problemTypes":[{"descriptions":[{"description":"Write data to arbitrary address vulnerability","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2022-09-16T17:53:31.000Z","orgId":"25ac1063-e409-4190-8079-24548c77ea2e","shortName":"huawei"},"references":[{"tags":["x_refsource_MISC"],"url":"https://consumer.huawei.com/en/support/bulletin/2022/8/"},{"tags":["x_refsource_MISC"],"url":"https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202209-0000001392278845"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"psirt@huawei.com","ID":"CVE-2021-40040","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"HarmonyOS;EMUI;Magic UI","version":{"version_data":[{"version_value":"HarmonyOS 2.0"},{"version_value":"EMUI 11.0.0,EMUI 10.1.1,EMUI 10.1.0,EMUI 10.0.0"},{"version_value":"Magic UI 4.0.0,Magic UI 3.1.1,Magic UI 3.1.0,Magic UI 3.0.0"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Vulnerability of writing data to an arbitrary address in the HW_KEYMASTER module. Successful exploitation of this vulnerability may affect confidentiality."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Write data to arbitrary address vulnerability"}]}]},"references":{"reference_data":[{"name":"https://consumer.huawei.com/en/support/bulletin/2022/8/","refsource":"MISC","url":"https://consumer.huawei.com/en/support/bulletin/2022/8/"},{"name":"https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202209-0000001392278845","refsource":"MISC","url":"https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202209-0000001392278845"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T02:27:31.529Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://consumer.huawei.com/en/support/bulletin/2022/8/"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202209-0000001392278845"}]},{"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-noinfo Not enough information"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-03-03T19:41:04.914056Z","id":"CVE-2021-40040","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-03-06T17:36:42.392Z"}}]},"cveMetadata":{"assignerOrgId":"25ac1063-e409-4190-8079-24548c77ea2e","assignerShortName":"huawei","cveId":"CVE-2021-40040","datePublished":"2022-08-09T20:11:21.000Z","dateReserved":"2021-08-23T00:00:00.000Z","dateUpdated":"2026-03-06T17:36:42.392Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}