{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2021-47347", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-05-21T14:28:16.981Z", "datePublished": "2024-05-21T14:35:52.947Z", "dateUpdated": "2026-08-05T08:47:22.692Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T08:47:22.692Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwl1251: Fix possible buffer overflow in wl1251_cmd_scan\n\nFunction wl1251_cmd_scan calls memcpy without checking the length.\nHarden by checking the length is within the maximum allowed size." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - The overflow is reached only when a local process supplies an SSID via nl80211 NL80211_CMD_TRIGGER_SCAN or WEXT SIOCSIWSCAN into wl1251_op_hw_scan→wl1251_cmd_scan; the copied bytes are not taken from over-the-air frames, so this is Local rather than Adjacent.\nAC:L - Once an oversized ssid_len reaches wl1251_cmd_scan, the unbounded memcpy into ssid[32] is fully deterministic with no race or layout dependency; the driver performs no length check of its own, so attack complexity is Low.\nPR:L - NL80211_CMD_TRIGGER_SCAN uses GENL_UNS_ADMIN_PERM (CAP_NET_ADMIN in the wiphy netns), which per kernel CNA guidance is Low rather than High, and on typical wl1251 embedded/desktop deployments that capability is delegated to ordinary sessions via wpa_supplicant/NetworkManager.\nUI:N - The attacker issues the scan or connect-driven scan request themselves; no separate victim action such as opening a crafted file is required.\nS:U - Corruption is confined to the host kernel wl1251 command buffer and the same OS security authority; it is not a VM escape, IOMMU bypass, or other cross-boundary impact.\nC:H - An oversized ssid_len causes both an out-of-bounds write past ssid[32] and an out-of-bounds read from the source SSID buffer into adjacent kernel memory in the scan request, which per OOB/memory-corruption guidance is High confidentiality impact.\nI:H - The unchecked memcpy is an attacker-controlled out-of-bounds write past the 32-byte ssid field into adjacent cmd->channels[] (then submitted to firmware), and out-of-bounds writes are scored High integrity.\nA:H - Kernel memory corruption from the unbounded copy can oops/panic under hardened kernels, and corrupting the firmware scan command can wedge or crash the wl1251 path, so availability impact is High." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/net/wireless/ti/wl1251/cmd.c" ], "versions": [ { "version": "2f01a1f58889fbfeb68b1bc1b52e4197f3333490", "lessThan": "57ad99ae3c6738ba87bad259bb57c641ca68ebf6", "status": "affected", "versionType": "git" }, { "version": "2f01a1f58889fbfeb68b1bc1b52e4197f3333490", "lessThan": "d3d8b9c9c7843dce31e284927d4c9904fd5a510a", "status": "affected", "versionType": "git" }, { "version": "2f01a1f58889fbfeb68b1bc1b52e4197f3333490", "lessThan": "0f6c0488368c9ac1aa685821916fadba32f5d1ef", "status": "affected", "versionType": "git" }, { "version": "2f01a1f58889fbfeb68b1bc1b52e4197f3333490", "lessThan": "115103f6e3f1c26c473766c16439c7c8b235529a", "status": "affected", "versionType": "git" }, { "version": "2f01a1f58889fbfeb68b1bc1b52e4197f3333490", "lessThan": "d71dddeb5380613f9ef199f3e7368fd78fb1a46e", "status": "affected", "versionType": "git" }, { "version": "2f01a1f58889fbfeb68b1bc1b52e4197f3333490", "lessThan": "c5e4a10d7bd5d4f419d8b9705dff60cf69b302a1", "status": "affected", "versionType": "git" }, { "version": "2f01a1f58889fbfeb68b1bc1b52e4197f3333490", "lessThan": "302e2ee34c5f7c5d805b7f835d9a6f2b43474e2a", "status": "affected", "versionType": "git" }, { "version": "2f01a1f58889fbfeb68b1bc1b52e4197f3333490", "lessThan": "40af3960a15339e8bbd3be50c3bc7b35e1a0b6ea", "status": "affected", "versionType": "git" }, { "version": "2f01a1f58889fbfeb68b1bc1b52e4197f3333490", "lessThan": "d10a87a3535cce2b890897914f5d0d83df669c63", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/net/wireless/ti/wl1251/cmd.c" ], "versions": [ { "version": "2.6.31", "status": "affected" }, { "version": "0", "lessThan": "2.6.31", "status": "unaffected", "versionType": "semver" }, { "version": "4.4.276", "lessThanOrEqual": "4.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "4.9.276", "lessThanOrEqual": "4.9.*", "status": "unaffected", "versionType": "semver" }, { "version": "4.14.240", "lessThanOrEqual": "4.14.*", "status": "unaffected", "versionType": "semver" }, { "version": "4.19.198", "lessThanOrEqual": "4.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.133", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.51", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.12.18", "lessThanOrEqual": "5.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.13.3", "lessThanOrEqual": "5.13.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.14", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.31", "versionEndExcluding": "4.4.276" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.31", "versionEndExcluding": "4.9.276" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.31", "versionEndExcluding": "4.14.240" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.31", "versionEndExcluding": "4.19.198" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.31", "versionEndExcluding": "5.4.133" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.31", "versionEndExcluding": "5.10.51" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.31", "versionEndExcluding": "5.12.18" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.31", "versionEndExcluding": "5.13.3" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.31", "versionEndExcluding": "5.14" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/57ad99ae3c6738ba87bad259bb57c641ca68ebf6" }, { "url": "https://git.kernel.org/stable/c/d3d8b9c9c7843dce31e284927d4c9904fd5a510a" }, { "url": "https://git.kernel.org/stable/c/0f6c0488368c9ac1aa685821916fadba32f5d1ef" }, { "url": "https://git.kernel.org/stable/c/115103f6e3f1c26c473766c16439c7c8b235529a" }, { "url": "https://git.kernel.org/stable/c/d71dddeb5380613f9ef199f3e7368fd78fb1a46e" }, { "url": "https://git.kernel.org/stable/c/c5e4a10d7bd5d4f419d8b9705dff60cf69b302a1" }, { "url": "https://git.kernel.org/stable/c/302e2ee34c5f7c5d805b7f835d9a6f2b43474e2a" }, { "url": "https://git.kernel.org/stable/c/40af3960a15339e8bbd3be50c3bc7b35e1a0b6ea" }, { "url": "https://git.kernel.org/stable/c/d10a87a3535cce2b890897914f5d0d83df669c63" } ], "title": "wl1251: Fix possible buffer overflow in wl1251_cmd_scan", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "problemTypes": [ { "descriptions": [ { "type": "CWE", "cweId": "CWE-120", "lang": "en", "description": "CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')" } ] } ], "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 8.8, "attackVector": "NETWORK", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "LOW", "confidentialityImpact": "HIGH" } }, { "other": { "type": "ssvc", "content": { "timestamp": "2024-11-13T22:00:32.437065Z", "id": "CVE-2021-47347", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-11-13T22:01:36.157Z" } }, { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-04T05:32:08.562Z" }, "title": "CVE Program Container", "references": [ { "url": "https://git.kernel.org/stable/c/57ad99ae3c6738ba87bad259bb57c641ca68ebf6", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/d3d8b9c9c7843dce31e284927d4c9904fd5a510a", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/0f6c0488368c9ac1aa685821916fadba32f5d1ef", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/115103f6e3f1c26c473766c16439c7c8b235529a", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/d71dddeb5380613f9ef199f3e7368fd78fb1a46e", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/c5e4a10d7bd5d4f419d8b9705dff60cf69b302a1", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/302e2ee34c5f7c5d805b7f835d9a6f2b43474e2a", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/40af3960a15339e8bbd3be50c3bc7b35e1a0b6ea", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/d10a87a3535cce2b890897914f5d0d83df669c63", "tags": [ "x_transferred" ] } ] } ] } }