Use-after-free vulnerability in appendEventsToCacheLocked in SensorEventConnection.cpp allows for local privilege escalation without additional execution privileges needed

Use-after-free vulnerability in appendEventsToCacheLocked in SensorEventConnection.cpp allows for local privilege escalation without additional execution privileges needed

CVE-2021-0318 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In appendEventsToCacheLocked of SensorEventConnection.cpp, there is a possible out of bounds write due to a use-after-free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-9, Android-8.1, Android-10, Android-11; Android ID: A-168211968.

Learn more about our Cis Benchmark Audit For Google Android.