Skip to contentSkip to conversation

apache2: add vendor to product name used for CVE checking

PATCH New Armin Kuster 1 participant 1 message Jan 7, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apache2: add vendor to product name used for CVE checking

From: Jeffrey Pautler <[email protected]>

This recipe sets the product name used for CVE checking to "http_server". However, the cve-check logic matches that name to all products in the CVE database regardless of vendor. Currently, it is matching to products from vendors other than apache. As a result, CVE checking incorrectly reports CVEs for those vendors' products for this package.

(cherry picked from commit 51f70eaaa5973e385645f574093ee860f5648f88)
---
 meta-webserver/recipes-httpd/apache2/apache2_2.4.57.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-webserver/recipes-httpd/apache2/apache2_2.4.57.bb +1 -1
index 9ffdf3265a..3fbc975fca 100644
@@ -36,7 +36,7 @@ inherit autotools update-rc.d pkgconfig systemd update-alternatives
 
 DEPENDS = "openssl expat pcre apr apr-util apache2-native "
 
-CVE_PRODUCT = "http_server"
+CVE_PRODUCT = "apache:http_server"
 
 SSTATE_SCAN_FILES += "apxs config_vars.mk config.nice"
 
Signature · 1 line
2.34.1