Skip to content
OpenAdvisories
Unscored Public exploit CVE-2021-0326 EUVD-2021-2945GHSA-4wv8-p854-pjqv

In p2p_copy_client_info of p2p.c, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code exe…

Published Feb 10, 2021 · Updated Aug 3, 2024 · Assigned by google_android

Description

In p2p_copy_client_info of p2p.c, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution if the target device is performing a Wi-Fi Direct search, with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10 Android-11 Android-8.1 Android-9Android ID: A-172937525

Affected products

VendorProductAffectedFixed
— Android Android-10 Android-11 Android-8.1 Android-9 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 wpa 2:2.9.0-17 —
Debian 13 wpa 2:2.9.0-17 —
Debian 12 wpa 2:2.9.0-17 —
Debian 10 wpa 2:2.7+git20190128+0c1e29f-6+deb10u3 DSA-4898-1
Debian 9 wpa 2:2.4-1+deb9u8 DLA-2572-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS wpa 2:2.9-1ubuntu4.2 USN-4734-1
Ubuntu 18.04 LTS wpa 2:2.6-15ubuntu2.7 USN-4734-1
Ubuntu 16.04 LTS wpa 2.4-0ubuntu6.7 USN-4734-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS wpa 2.1-0ubuntu1.7+esm3 USN-4734-2
ReleasePackageFixed inAdvisory
RHEL 8 wpa_supplicant 1:2.9-5.el8 RHSA-2021:1686

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 wpa_supplicant 1:2.9-5.el8 RLSA-2021:1686
ReleasePackageFixed inAdvisory
SLES 15 SP2 wpa_supplicant 2.9-4.23.1 SUSE-SU-2021:0443-1
SLES 15 SP1 wpa_supplicant 2.9-4.23.1 SUSE-SU-2021:0443-1
SLES 15 wpa_supplicant 2.9-4.23.1 SUSE-SU-2021:0443-1
SLES 12 SP5 wpa_supplicant 2.9-23.6.1 SUSE-SU-2021:0477-1
SLES 12 SP4 wpa_supplicant 2.6-15.13.1 SUSE-SU-2021:0478-1
Show 20 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP3 wpa_supplicant 2.6-15.13.1 SUSE-SU-2021:0478-1
SLES 12 SP2 wpa_supplicant 2.6-15.13.1 SUSE-SU-2021:0478-1
SLES for SAP 15 SP1 wpa_supplicant 2.9-4.23.1 SUSE-SU-2021:0443-1
SLES for SAP 15 wpa_supplicant 2.9-4.23.1 SUSE-SU-2021:0443-1
SLES for SAP 12 SP5 wpa_supplicant 2.9-23.6.1 SUSE-SU-2021:0477-1
SLES for SAP 12 SP4 wpa_supplicant 2.6-15.13.1 SUSE-SU-2021:0478-1
SLES for SAP 12 SP3 wpa_supplicant 2.6-15.13.1 SUSE-SU-2021:0478-1
SLES for SAP 12 SP2 wpa_supplicant 2.6-15.13.1 SUSE-SU-2021:0478-1
SLE HPC 15 SP1 wpa_supplicant 2.9-4.23.1 SUSE-SU-2021:0443-1
SLE HPC 15 wpa_supplicant 2.9-4.23.1 SUSE-SU-2021:0443-1
SUSE OpenStack Cloud Crowbar 9 wpa_supplicant 2.6-15.13.1 SUSE-SU-2021:0478-1
SUSE OpenStack Cloud Crowbar 8 wpa_supplicant 2.6-15.13.1 SUSE-SU-2021:0478-1
SUSE OpenStack Cloud 9 wpa_supplicant 2.6-15.13.1 SUSE-SU-2021:0478-1
SUSE OpenStack Cloud 8 wpa_supplicant 2.6-15.13.1 SUSE-SU-2021:0478-1
SUSE OpenStack Cloud 7 wpa_supplicant 2.6-15.13.1 SUSE-SU-2021:0478-1
SUSE Manager Server 4.0 wpa_supplicant 2.9-4.23.1 SUSE-SU-2021:0443-1
SUSE Manager Retail Branch Server 4.0 wpa_supplicant 2.9-4.23.1 SUSE-SU-2021:0443-1
SUSE Manager Proxy 4.0 wpa_supplicant 2.9-4.23.1 SUSE-SU-2021:0443-1
SUSE HPE Helion OpenStack 8 wpa_supplicant 2.6-15.13.1 SUSE-SU-2021:0478-1
SUSE Enterprise Storage 6 wpa_supplicant 2.9-4.23.1 SUSE-SU-2021:0443-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed wpa_supplicant 2.9-13.4 openSUSE-SU-2024:11515-1
openSUSE Leap 15.2 wpa_supplicant 2.9-lp152.8.6.1 openSUSE-SU-2021:0284-1
ReleasePackageFixed inAdvisory
Alpine v3.24 wpa_supplicant 2.9-r10 —
Alpine v3.23 wpa_supplicant 2.9-r10 —
Alpine v3.22 wpa_supplicant 2.9-r10 —
Alpine v3.21 wpa_supplicant 2.9-r10 —
Alpine v3.20 wpa_supplicant 2.9-r10 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 wpa_supplicant 2.9-r10 —
Alpine v3.18 wpa_supplicant 2.9-r10 —
Alpine v3.17 wpa_supplicant 2.9-r10 —
Alpine v3.16 wpa_supplicant 2.9-r10 —
Alpine v3.15 wpa_supplicant 2.9-r10 —
Alpine v3.14 wpa_supplicant 2.9-r10 —
Alpine v3.13 wpa_supplicant 2.9-r9 —
Alpine v3.12 wpa_supplicant 2.9-r6 —
Alpine v3.11 wpa_supplicant 2.9-r6 —
Alpine v3.10 wpa_supplicant 2.8-r4 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 wpa_supplicant 1:2.6-12.amzn2.2.2 ALAS2-2021-1648

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 wpa_supplicant 1:2.9-5.el8 ELSA-2021-1686

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 5 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 16

References