VDB

CVE-2021-0512

CVE-2021-0512 PUBLISHED

Reported by google_android · Published June 21, 2021

In __hidinput_change_resolution_multipliers of hid-input.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-173843328References: Upstream kernel

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux-gkeopUbuntu:20.04:LTS5.4.0-1013.14
linux-awsUbuntu:18.04:LTS4.15.0-1102.109
linux-dell300xUbuntu:18.04:LTS4.15.0-1018.22
linux-gcp-4.15Ubuntu:18.04:LTS4.15.0-1099.112
linux-aws-fipsUbuntu:Pro:FIPS-updates:20.04:LTS5.4.0-1069.73+fips2
linux-gcpUbuntu:20.04:LTS5.4.0-1041.44
linux-snapdragonUbuntu:18.04:LTS4.15.0-1102.111
linux-gcpUbuntu:Pro:16.04:LTS4.15.0-1099.112~16.04.1
linux-oracleUbuntu:18.04:LTS4.15.0-1071.79
linux-aws-fipsUbuntu:Pro:FIPS-updates:18.04:LTS4.15.0-2044.46
linux-awsUbuntu:20.04:LTS5.4.0-1043.45
linux-gkeUbuntu:20.04:LTS5.4.0-1041.43

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

Affected products

VendorProductVersions
n/aAndroidAndroid kernel
n/aAndroid*

Timeline

  • Jun 8, 2021 CVE Published
  • Jun 22, 2021 EPSS Score (30 in total, the first dated here)
  • Jun 22, 2021 PoC Published
  • Jun 2, 2026 Security Advisory (12 in total, the first dated here)
  • Aug 9, 2026 Distribution Patch (8 in total, the first dated here)
  • Aug 27, 2026 Coalition ESS Score
  • Oct 25, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-0512
vulnetix vdb fixes CVE-2021-0512

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-0512/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

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