CVE-2021-0342
Vulnerability Summary
Timeline
Description
In tun_get_user of tun.c, there is possible memory corruption due to a use after free. This could lead to local escalation of privilege with System execution privileges required. User interaction is not required for exploitation. Product: Android; Versions: Android kernel; Android ID: A-146554327.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.7CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.17%• Percentile: 7%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- debian•linux
< 5.7.6-1 | < 5.7.6-1 | < 5.7.6-1 | < 5.7.6-1
- ubuntu•linux
< 4.15.0-115.116 | < 5.4.0-45.49
- ubuntu•linux-aws
< 4.15.0-1080.84 | < 5.4.0-1022.22
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1022.22~18.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2025.25 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1080.84~16.04.1
- ubuntu•linux-azure
< 4.15.0-1093.103~14.04.1 | < 4.15.0-1093.103~16.04.1 | all | < 5.4.0-1023.23
- ubuntu•linux-azure-4.15
< 4.15.0-1093.103
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1023.23~18.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all
- ubuntu•linux-azure-fips
< 4.15.0-2007.8 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all
- ubuntu•linux-fips
< 4.15.0-1039.44
- ubuntu•linux-gcp
< 4.15.0-1081.92~16.04.1 | all | < 5.4.0-1022.22
- ubuntu•linux-gcp-4.15
< 4.15.0-1081.92
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1022.22~18.04.1
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke
all
- ubuntu•linux-gke-4.15
< 4.15.0-1067.70
- ubuntu•linux-gke-5.0
< 5.0.0-1045.46
- ubuntu•linux-gke-5.3
< 5.3.0-1032.34~18.04.1
- ubuntu•linux-hwe
< 4.15.0-115.116~16.04.1 | all
- ubuntu•linux-hwe-5.4
< 5.4.0-45.49~18.04.2
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.15.0-1072.73 | < 5.4.0-1021.21
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.6
< 5.6.0-1020.20
- ubuntu•linux-oem-osp1
< 5.0.0-1065.70
- ubuntu•linux-oracle
< 4.15.0-1051.55~16.04.1 | < 4.15.0-1051.55 | < 5.4.0-1022.22
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.4
< 5.4.0-1022.22~18.04.1
- ubuntu•linux-raspi
< 5.4.0-1016.17
- ubuntu•linux-raspi-5.4
< 5.4.0-1016.17~18.04.1
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.15.0-1068.72 | all
- ubuntu•linux-raspi2-5.3
< 5.3.0-1030.32~18.04.2
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
all | all
- ubuntu•linux-snapdragon
< 4.15.0-1084.92
- google•android
na