apache2: ignore irrelevant CVEs

Ignore a number of CVEs for this recipe (because they are for another software,
outdated version, or because they affect only non-Linux platforms). This commit
is a backport of a number of commits from the master branch (which uses the same
version of the recipe):

0e7733f1b8f51949ec91d82267d5d864ac0be16a
1b86a60f6283b08acadc50914075d93dd362700b
59d3949e3ed673bd049aadfd2238213b550f1461
1b86a60f6283b08acadc50914075d93dd362700b
da2b5e8b93c248363581b1bd4ff67ff1d8357c41
0e7733f1b8f51949ec91d82267d5d864ac0be16a

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
Gyorgy Sarvari 2025-10-04 20:05:51 +02:00
parent 5e398bfa67
commit 49c4e29bc9

View File

@ -37,6 +37,25 @@ DEPENDS = "openssl expat pcre apr apr-util apache2-native "
CVE_PRODUCT = "apache:http_server"
# not-applicable-platform: The current version is not affected. It only applies for Windows
CVE_CHECK_IGNORE += "CVE-1999-0289 CVE-2010-0425"
# not-applicable-platform: this CVE is for Debian packaging configuration
CVE_CHECK_IGNORE += "CVE-1999-0678"
# cpe-incorrect: This is vulnerability of Apache AuthenSmb module, fixed in 0.9
CVE_CHECK_IGNORE += "CVE-1999-1237"
# not-applicable-platform: this CVE is for MAC OS X specific problem
CVE_CHECK_IGNORE += "CVE-1999-1412"
# disputed: this CVE is officially disputed by Redhat
CVE_CHECK_IGNORE += "CVE-2007-0086"
# not-applicable-platform: The current version is not affected. It only applies for Windows.
CVE_CHECK_IGNORE += "CVE-2007-0450"
# cpe-incorrect: The current version is not affected by the CVE which affects versions from 2.2 (incl.) to 2.2.8 (excl.)
CVE_CHECK_IGNORE += "CVE-2007-6421 CVE-2007-6422"
# cpe-incorrect: The current version is not affected by the CVE which affects versions from 2.2.x to 2.2.7-dev
CVE_CHECK_IGNORE += "CVE-2007-6423"
# cpe-incorrect: The current version is not affected by the CVE which affects versions up to 2.2.6 (excl.)
CVE_CHECK_IGNORE += "CVE-2008-2168"
SSTATE_SCAN_FILES += "apxs config_vars.mk config.nice"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"