CVE-2021-0342
Reported by google_android · Published January 11, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-gcp | Ubuntu:16.04:LTS | 4.15.0-1081.92~16.04.1 |
| linux | Ubuntu:18.04:LTS | 4.15.0-115.116 |
| linux | Ubuntu:20.04:LTS | 5.4.0-45.49 |
| linux-oracle | Ubuntu:20.04:LTS | 5.4.0-1022.22 |
| linux-aws | Ubuntu:18.04:LTS | 4.15.0-1080.84 |
| linux-fips | Ubuntu:Pro:FIPS-updates:18.04:LTS | 4.15.0-1039.44 |
| linux-kvm | Ubuntu:18.04:LTS | 4.15.0-1072.73 |
| linux-gke-4.15 | Ubuntu:18.04:LTS | 4.15.0-1067.70 |
| linux-aws-fips | Ubuntu:Pro:FIPS-updates:18.04:LTS | 4.15.0-2025.25 |
| linux-raspi2-5.3 | Ubuntu:18.04:LTS | 5.3.0-1030.32~18.04.2 |
| linux-snapdragon | Ubuntu:18.04:LTS | 4.15.0-1084.92 |
| linux-kvm | Ubuntu:20.04:LTS | 5.4.0-1021.21 |
5 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Android | Android kernel |
| n/a | Android | * |
Timeline
- Jan 4, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 28, 2025 PoC Published
- Mar 17, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 17, 2026 Security Advisory (4 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Aug 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-0342
vulnetix vdb fixes CVE-2021-0342
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-0342/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart