Buffer overflow in Google Android - CVE-2020-0235

 

Buffer overflow in Google Android - CVE-2020-0235

Published: June 16, 2020 / Updated: August 8, 2020


Vulnerability identifier: #VU34252
CSH Severity: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2020-0235
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Google Android
Software vendor:
Google

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

In crus_sp_shared_ioctl we first copy 4 bytes from userdata into "size" variable, and then use that variable as the size parameter for "copy_from_user", ending up overwriting memory following "crus_sp_hdr". "crus_sp_hdr" is a static variable, of type "struct crus_sp_ioctl_header".Product: AndroidVersions: Android kernelAndroid ID: A-135129430


Remediation

Install update from vendor's website.

External links