VDB

CVE-2021-0342

CVE-2021-0342 PUBLISHED

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.

PackageEcosystemFixed in
linux-gcpUbuntu:16.04:LTS4.15.0-1081.92~16.04.1
linuxUbuntu:18.04:LTS4.15.0-115.116
linuxUbuntu:20.04:LTS5.4.0-45.49
linux-oracleUbuntu:20.04:LTS5.4.0-1022.22
linux-awsUbuntu:18.04:LTS4.15.0-1080.84
linux-fipsUbuntu:Pro:FIPS-updates:18.04:LTS4.15.0-1039.44
linux-kvmUbuntu:18.04:LTS4.15.0-1072.73
linux-gke-4.15Ubuntu:18.04:LTS4.15.0-1067.70
linux-aws-fipsUbuntu:Pro:FIPS-updates:18.04:LTS4.15.0-2025.25
linux-raspi2-5.3Ubuntu:18.04:LTS5.3.0-1030.32~18.04.2
linux-snapdragonUbuntu:18.04:LTS4.15.0-1084.92
linux-kvmUbuntu:20.04:LTS5.4.0-1021.21

5 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
n/aAndroidAndroid kernel
n/aAndroid*

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

References

  • x_refsource_CONFIRM
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›