summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2024-11-08 22:08:13 +0100
committerArmin Kuster <akuster808@gmail.com>2024-11-09 14:44:28 -0500
commit98e1f972bd7bab87efbf7a4fec69d8b3324f9de3 (patch)
tree9ffcb9208c907b49dfb7cb11965f0e8a1ac68e43
parentea99328a0685b577adf4175e4d674c560ce9a490 (diff)
downloadmeta-openembedded-98e1f972bd7bab87efbf7a4fec69d8b3324f9de3.tar.gz
squid: conditionally set status of CVE-2024-45802
According to [1] the ESI feature implementation in squid is vulnerable without any fix available. NVD says it's fixed in 6.10, however the change in this release only disables ESI by default (which we always did via PACKAGECONFIG). Commit in master branch related to this CVE is [2]. Title is "Remove Edge Side Include (ESI) protocol" and it's also what it does. So there will never be a fix for these ESI vulnerabilities. We should not break features in LTS branch and cannot fix this problem. So ignrore this CVE based on set PACKAGECONFIG which should remove it from reports for most users. Thos who need ESI need to assess the risk themselves. [1] https://github.com/squid-cache/squid/security/advisories/GHSA-f975-v7qw-q7hj [2] https://github.com/squid-cache/squid/commit/5eb89ef3d828caa5fc43cd8064f958010dbc8158 Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-networking/recipes-daemons/squid/squid_6.9.bb6
1 files changed, 6 insertions, 0 deletions
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"
147 147
148RDEPENDS:${PN} += "perl ${PN}-conf" 148RDEPENDS:${PN} += "perl ${PN}-conf"
149RDEPENDS:${PN}-ptest += "perl make bash" 149RDEPENDS:${PN}-ptest += "perl make bash"
150
151python() {
152 # Only ESI feature is vulnerable
153 if not bb.utils.filter('PACKAGECONFIG', 'esi', d):
154 d.setVarFlag("CVE_STATUS", "CVE-2024-45802", "not-applicable-config: esi is disabled")
155}