]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
wpa-supplicant: Ignore CVE-2024-5290
authorPeter Marko <peter.marko@siemens.com>
Sat, 28 Sep 2024 15:43:48 +0000 (17:43 +0200)
committerSteve Sakoman <steve@sakoman.com>
Mon, 21 Oct 2024 16:46:43 +0000 (09:46 -0700)
commit617cf25b0f49b732f961f1fa4d1390e8e883f12b
tree364871de69ffe1227c1b7f97c9528f5852755e47
parent0d0f3541552b073f3536176e2caf847bec24548d
wpa-supplicant: Ignore CVE-2024-5290

NVD CVE report [1] links Ubuntu bug [2] which has a very good
description/discussion about this issue.
It applies only to distros patching wpa-supplicant to allow non-root
users (e.g. via netdev group) to load modules.
This is not the case of Yocto.

Quote:
So upstream isn't vulnerable as they only expose the dbus interface to
root. Downstreams like Ubuntu and Chromium added a patch that grants
access to the netdev group. The patch is the problem, not the upstream
code IMHO.

There is also a commit [3] associated with this CVE, however that only
provides build-time configuration to limit paths which can be accessed
but it acts only as a mitigation for distros which allow non-root users
to load crafted modules.

The patch is included in version 2.11, however NVD has this CVE
version-less, so explicit ignore is necessary.

[1] https://nvd.nist.gov/vuln/detail/CVE-2024-5290
[2] https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/2067613
[3] https://w1.fi/cgit/hostap/commit/?id=c84388ee4c66bcd310db57489eac4a75fc600747

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6cb794d44a8624784ec0f76dca764616d81ffbf5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb