{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-40040","id":"CVE-2021-40040","title":"Vulnerability of writing data to an arbitrary address in the HW_KEYMASTER module","description":"Vulnerability of writing data to an arbitrary address in the HW_KEYMASTER module. Successful exploitation of this vulnerability may affect confidentiality.","descriptionLong":"Vulnerability of writing data to an arbitrary address in the HW_KEYMASTER module. Successful exploitation of this vulnerability may affect confidentiality.","published":"2022-08-09T20:11:21.000Z","updated":"2026-06-17T04:06:26.393Z","reserved":"2021-08-23T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"huawei","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"}],"rating":"high","products":["HarmonyOS;EMUI;Magic UI"],"affectedProducts":[{"vendor":"n/a","product":"HarmonyOS;EMUI;Magic UI","defaultStatus":null,"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"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://consumer.huawei.com/en/support/bulletin/2022/8/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202209-0000001392278845","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.0057,"epssPercentile":0.47948,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-40040","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40040","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-40040","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-40040","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}