Vulnerabilities > CVE-2021-40052 - Incorrect Calculation of Buffer Size vulnerability in Huawei Emui, Harmonyos and Magic UI
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
NONE Integrity impact
NONE Availability impact
HIGH Summary
There is an incorrect buffer size calculation vulnerability in the video framework.Successful exploitation of this vulnerability may affect availability.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 4 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Buffer Overflow via Parameter Expansion In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
References
- https://consumer.huawei.com/en/support/bulletin/2022/3/
- https://consumer.huawei.com/en/support/bulletin/2022/3/
- https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202208-0000001363876177
- https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202208-0000001363876177