Message ID | 20241108210813.2333343-1-peter.marko@siemens.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe,scarthgap] squid: conditionally set status of CVE-2024-45802 | expand |
diff --git a/meta-networking/recipes-daemons/squid/squid_6.9.bb b/meta-networking/recipes-daemons/squid/squid_6.9.bb index 61fc6027b3..f6312521d9 100644 --- a/meta-networking/recipes-daemons/squid/squid_6.9.bb +++ b/meta-networking/recipes-daemons/squid/squid_6.9.bb @@ -147,3 +147,9 @@ FILES:${PN}-networkmanager = "${libdir}/NetworkManager/dispatcher.d" RDEPENDS:${PN} += "perl ${PN}-conf" RDEPENDS:${PN}-ptest += "perl make bash" + +python() { + # Only ESI feature is vulnerable + if not bb.utils.filter('PACKAGECONFIG', 'esi', d): + d.setVarFlag("CVE_STATUS", "CVE-2024-45802", "not-applicable-config: esi is disabled") +}