Vulnerabilities > CVE-2020-10067 - Integer Overflow or Wraparound vulnerability in Zephyrproject Zephyr 1.14.1/2.1.0
Attack vector
LOCAL Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
A malicious userspace application can cause a integer overflow and bypass security checks performed by system call handlers. The impact would depend on the underlying system call and can range from denial of service to information leak to memory corruption resulting in code execution within the kernel. See NCC-ZEP-005 This issue affects: zephyrproject-rtos zephyr version 1.14.1 and later versions. version 2.1.0 and later versions.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 2 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Forced Integer Overflow This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code.
References
- https://github.com/zephyrproject-rtos/zephyr/pull/23654
- https://github.com/zephyrproject-rtos/zephyr/pull/23239
- https://github.com/zephyrproject-rtos/zephyr/pull/23653
- https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-27
- https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10067