cve.bz

CVE-2021-0605 google android: Out-of-bounds Read

4.4 mediumEPSS 0.2%

Medium (4.4) in google android. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In pfkey_dump of af_key.c, there is a possible out-of-bounds read due to a missing bounds check. This could lead to local information disclosure in the kernel with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-110373476

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-0605 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-0605?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-0605?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-0605 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
google:android11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.8.7-1DEBIAN-CVE-2021-0605
Ubuntu16.04:LTSlinux4.4.0-197.229UBUNTU-CVE-2021-0605
Ubuntu16.04:LTSlinux-aws4.4.0-1118.132UBUNTU-CVE-2021-0605
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1088.93~16.04.1UBUNTU-CVE-2021-0605
Ubuntu16.04:LTSlinux-azure4.15.0-1100.111~16.04.1UBUNTU-CVE-2021-0605
Ubuntu16.04:LTSlinux-gcp4.15.0-1088.101~16.04.1UBUNTU-CVE-2021-0605
Ubuntu16.04:LTSlinux-hwe4.15.0-126.129~16.04.1UBUNTU-CVE-2021-0605
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-0605
Ubuntu16.04:LTSlinux-kvm4.4.0-1084.93UBUNTU-CVE-2021-0605
Ubuntu16.04:LTSlinux-oracle4.15.0-1059.65~16.04.1UBUNTU-CVE-2021-0605
Ubuntu18.04:LTSlinux4.15.0-126.129UBUNTU-CVE-2021-0605
Ubuntu18.04:LTSlinux-aws4.15.0-1088.93UBUNTU-CVE-2021-0605
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1030.31~18.04.1UBUNTU-CVE-2021-0605
35 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-305.el8RHSA-2021:1578
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-305.el8RHSA-2021:1578
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-305.rt7.72.el8RHSA-2021:1739
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-305.rt7.72.el8RHSA-2021:1739
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 4 morekernel-docs, kernel-syms, kernel-source and 2 more4.12.14-197.99.1SUSE-SU-2021:2427-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 morekernel-syms, kernel-source, kernel-default4.4.180-94.147.1SUSE-SU-2021:2451-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS, Linux Enterprise Server for SAP Applications 12 SP3 and 2 morekgraft-patch-SLE12-SP3_Update_401-4.3.1SUSE-SU-2021:2451-1
SUSELinux Enterprise High Availability Extension 12 SP3kernel-default4.4.180-94.147.1SUSE-SU-2021:2451-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.80.1SUSE-SU-2021:2422-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.77.1SUSE-SU-2021:2324-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150.75.1SUSE-SU-2021:2421-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-197.99.1SUSE-SU-2021:2427-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Micro 5.0 and 1 morekernel-default5.3.18-24.70.1SUSE-SU-2021:2325-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Module for Legacy 15 SP3kernel-default5.3.18-59.13.1SUSE-SU-2021:2352-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15kernel-docs, kernel-syms, kernel-source and 3 more4.12.14-150.75.1SUSE-SU-2021:2421-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_1512-2.2SUSE-SU-2021:2367-1
51 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3kernel-64kb, kernel-docs, kernel-syms and 8 more5.3.18-59.13.1openSUSE-SU-2021:2352-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-38.11.1openSUSE-SU-2021:2305-1
openSUSELeap 15.3kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-197.99.1openSUSE-SU-2021:2427-1
openSUSELeap 15.3kernel-default-base5.3.18-59.13.1.18.6.1openSUSE-SU-2021:2352-1
AlmaLinux8kernel-tools-libs-devel4.18.0-305.el8ALSA-2021:1578

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

If the CAP_NET_ADMIN capability is privileged by default (which is true for Red Hat Enterprise Linux 7), then only an otherwise privileged user can trigger this bug.

On Red Hat Enterprise Linux 8 CAP_NET_ADMIN capability can be also gained by exploiting unprivileged user namespaces. The mitigation is to disable unprivileged user namespaces by setting user.max_user_namespaces to 0:

# echo "user.max_user_namespaces=0" > /etc/sysctl.d/userns.conf

# sysctl -p /etc/sysctl.d/userns.conf

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-305.rt7.72.el8Fixed 2021-05-18RHSA-2021:1739
Red Hat Enterprise Linux 8kernel-0:4.18.0-305.el8Fixed 2021-05-18RHSA-2021:1578
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altOut of support scope
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-0605.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON