gnupg: Document CVE-2022-3219 and mark wontfix
PATCH 1/2 gnupg: Document CVE-2022-3219 and mark wontfix
From: Peter Marko <[email protected]>
(From OE-Core rev: f10f9c3a8d2c17d5a6c3f0b00749e5b34a66e090)
--- meta/recipes-support/gnupg/gnupg_2.3.7.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-support/gnupg/gnupg_2.3.7.bb +2 -0
@@ -85,3 +85,5 @@ BBCLASSEXTEND = "native nativesdk" lcl_maybe_fortify:mipsarch = "" +# upstream-wontfix: Upstream doesn't seem to be keen on merging the proposed commit - https://dev.gnupg.org/T5993 +CVE_CHECK_IGNORE += "CVE-2022-3219"
Signature · 1 line
2.30.2
PATCH 2/2 wpa-supplicant: Ignore CVE-2024-5290
From: Peter Marko <[email protected]>
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.
[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
--- .../recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb +3 -0
@@ -31,6 +31,9 @@ SRC_URI[sha256sum] = "20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7 CVE_PRODUCT = "wpa_supplicant" +# not-applicable-platform: this only affects Ubuntu and other platforms patching wpa-supplicant +CVE_CHECK_IGNORE += "CVE-2024-5290" + S = "${WORKDIR}/wpa_supplicant-${PV}" PACKAGES:prepend = "wpa-supplicant-passphrase wpa-supplicant-cli "
Signature · 1 line
2.30.2