{"id":"UBUNTU-CVE-2021-0326","details":"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","modified":"2026-01-30T02:32:10.288232Z","published":"2021-02-10T00:00:00Z","related":["USN-4734-1","USN-4734-2"],"upstream":["CVE-2021-0326"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-0326"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2021/02/03/4"},{"type":"REPORT","url":"https://w1.fi/security/2020-2/wpa_supplicant-p2p-group-info-processing-vulnerability.txt"},{"type":"REPORT","url":"https://w1.fi/security/2020-2/0001-P2P-Fix-copying-of-secondary-device-types-for-P2P-gr.patch"},{"type":"REPORT","url":"https://w1.fi/cgit/hostap/commit/?id=947272febe24a8f0ea828b5b2f35f13c3821901e"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4734-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4734-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-0326"}],"affected":[{"package":{"name":"wpa","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/wpa@2.1-0ubuntu1.7+esm3?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1-0ubuntu1.7+esm3"}]}],"versions":["1.0-3ubuntu2","1.0-3ubuntu3","1.0-3ubuntu4","2.1-0ubuntu1","2.1-0ubuntu1.1","2.1-0ubuntu1.2","2.1-0ubuntu1.3","2.1-0ubuntu1.4","2.1-0ubuntu1.5","2.1-0ubuntu1.6","2.1-0ubuntu1.7","2.1-0ubuntu1.7+esm1","2.1-0ubuntu1.7+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1:2.1-0ubuntu1.7+esm3","binary_name":"hostapd"},{"binary_name":"wpagui","binary_version":"2.1-0ubuntu1.7+esm3"},{"binary_name":"wpasupplicant","binary_version":"2.1-0ubuntu1.7+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-0326.json"}},{"package":{"name":"wpa","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/wpa@2.4-0ubuntu6.7?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4-0ubuntu6.7"}]}],"versions":["2.4-0ubuntu3","2.4-0ubuntu4","2.4-0ubuntu5","2.4-0ubuntu6","2.4-0ubuntu6.2","2.4-0ubuntu6.3","2.4-0ubuntu6.4","2.4-0ubuntu6.5","2.4-0ubuntu6.6"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"hostapd","binary_version":"1:2.4-0ubuntu6.7"},{"binary_name":"wpagui","binary_version":"2.4-0ubuntu6.7"},{"binary_name":"wpasupplicant","binary_version":"2.4-0ubuntu6.7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-0326.json"}},{"package":{"name":"wpa","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/wpa@2:2.6-15ubuntu2.7?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.6-15ubuntu2.7"}]}],"versions":["2.4-0ubuntu10","2:2.4-1.1ubuntu1","2:2.6-15ubuntu1","2:2.6-15ubuntu2","2:2.6-15ubuntu2.1","2:2.6-15ubuntu2.2","2:2.6-15ubuntu2.3","2:2.6-15ubuntu2.4","2:2.6-15ubuntu2.5","2:2.6-15ubuntu2.6"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2:2.6-15ubuntu2.7","binary_name":"hostapd"},{"binary_name":"wpagui","binary_version":"2:2.6-15ubuntu2.7"},{"binary_version":"2:2.6-15ubuntu2.7","binary_name":"wpasupplicant"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-0326.json"}},{"package":{"name":"wpa","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/wpa@2:2.9-1ubuntu4.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.9-1ubuntu4.2"}]}],"versions":["2:2.9-1ubuntu2","2:2.9-1ubuntu3","2:2.9-1ubuntu4","2:2.9-1ubuntu4.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"hostapd","binary_version":"2:2.9-1ubuntu4.2"},{"binary_name":"wpagui","binary_version":"2:2.9-1ubuntu4.2"},{"binary_name":"wpasupplicant","binary_version":"2:2.9-1ubuntu4.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-0326.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"high"}]}