wl1251: Fix possible buffer overflow in wl1251_cmd_scan (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.81 % · percentile 57 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: wl1251: Fix possible buffer overflow in wl1251_cmd_scan Function wl1251_cmd_scan calls memcpy without checking the length. Harden by checking the length is within the maximum allowed size.
Weaknesses (CWE)
- CWE-120 — Buffer Copy without Checking Size of Input
References
- https://git.kernel.org/stable/c/57ad99ae3c6738ba87bad259bb57c641ca68ebf6
- https://git.kernel.org/stable/c/d3d8b9c9c7843dce31e284927d4c9904fd5a510a
- https://git.kernel.org/stable/c/0f6c0488368c9ac1aa685821916fadba32f5d1ef
- https://git.kernel.org/stable/c/115103f6e3f1c26c473766c16439c7c8b235529a
- https://git.kernel.org/stable/c/d71dddeb5380613f9ef199f3e7368fd78fb1a46e
- https://git.kernel.org/stable/c/c5e4a10d7bd5d4f419d8b9705dff60cf69b302a1
- https://git.kernel.org/stable/c/302e2ee34c5f7c5d805b7f835d9a6f2b43474e2a
- https://git.kernel.org/stable/c/40af3960a15339e8bbd3be50c3bc7b35e1a0b6ea
- https://git.kernel.org/stable/c/d10a87a3535cce2b890897914f5d0d83df669c63
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
European references
- ENISA EUVD · EUVD-2021-34352
- GCVE · GCVE-0-2021-47347
CERT-FR advisories
- CERTFR-2024-AVI-0526 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0496 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*< 4.4.276cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.5 < 4.9.276cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.10 < 4.14.240cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.198cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.133cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.51cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.12.18cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.13 < 5.13.3
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 < 57ad99ae3c6738ba87bad259bb57c641ca68ebf6 ; affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 < d3d8b9c9c7843dce31e284927d4c9904fd5a510a ; affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 < 0f6c0488368c9ac1aa685821916fadba32f5d1ef ; affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 < 115103f6e3f1c26c473766c16439c7c8b235529a ; affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 < d71dddeb5380613f9ef199f3e7368fd78fb1a46e ; affected 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 < c5e4a10d7bd5d4f419d8b9705dff60cf69b302a1 |
| Linux · Linux | affected 2.6.31 ; unaffected 0 < 2.6.31 ; unaffected 4.4.276 ≤ 4.4.* ; unaffected 4.9.276 ≤ 4.9.* ; unaffected 4.14.240 ≤ 4.14.* ; unaffected 4.19.198 ≤ 4.19.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |