Trusted-application crash via unchecked pointer advance
Published May 26, 2023 · Updated Jan 16, 2025
Out-of-bounds read in Huawei HarmonyOS and EMUI MultiDRM allows remote attackers to crash the trusted application through crafted input. MDrm_TA_CMD_Provision_GetRequest advances its buffer pointer by four plus an untrusted length without checking the remaining buffer, so the subtraction underflows and the next 32-bit read occurs out of bounds. Direct command access is limited to four whitelisted system binaries; the published proof of concept bypasses that gate with a patched kernel and demonstrates an availability-only crash.
Summary
What happened
Out-of-bounds read in Huawei HarmonyOS and EMUI MultiDRM allows remote attackers to crash the trusted application through crafted input. MDrm_TA_CMD_Provision_GetRequest advances its buffer pointer by four plus an untrusted length without checking the remaining buffer, so the subtraction underflows and the next 32-bit read occurs out of bounds. Direct command access is limited to four whitelisted system binaries; the published proof of concept bypasses that gate with a patched kernel and demonstrates an availability-only crash.
The record
- CVE
- CVE-2021-46885
- Published
- May 26, 2023
- Updated
- Jan 16, 2025
- Vendor
- MindSpore
- Product
- HarmonyOS
- Classifications
- CWE-120, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 26, 2023CVE publishedPublication date reported by the CVE source.
- Jan 16, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.0.0
- Affected versionversion=2.0.1
- Affected versionversion=2.1.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- MultiDRM GetRequest crash proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo