From: Shinji Matsunaga <[email protected]>

Fix "audit" set in CVE_PRODUCT to "linux:audit" to detect only vulnerabilities 
where the vendor is "linux".

Currently, CVE_PRODUCT also detects vulnerabilities where the vendor is 
"visionsoft",
which are unrelated to the "audit" in this recipe.
https://www.opencve.io/cve?vendor=visionsoft&product=audit

In addition, all the vulnerabilities currently detected in "audit" have the 
vendor of "visionsoft" or "linux".
Therefore, fix "audit" set in CVE_PRODUCT to "linux:audit".

Signed-off-by: Shinji Matsunaga <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit e87e51da49fe121be8f6dd4cec3263a345f2f876)

Adapted to Kirkstone.

Signed-off-by: Gyorgy Sarvari <[email protected]>
---
 meta-oe/recipes-security/audit/audit_2.8.5.bb | 2 ++
 meta-oe/recipes-security/audit/audit_3.0.8.bb | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/meta-oe/recipes-security/audit/audit_2.8.5.bb 
b/meta-oe/recipes-security/audit/audit_2.8.5.bb
index 347c855063..c8f235b1a3 100644
--- a/meta-oe/recipes-security/audit/audit_2.8.5.bb
+++ b/meta-oe/recipes-security/audit/audit_2.8.5.bb
@@ -107,3 +107,5 @@ do_install:append() {
        # Create /var/spool/audit directory for audisp-remote
        install -m 0700 -d ${D}${localstatedir}/spool/audit
 }
+
+CVE_PRODUCT = "linux:audit"
diff --git a/meta-oe/recipes-security/audit/audit_3.0.8.bb 
b/meta-oe/recipes-security/audit/audit_3.0.8.bb
index c17899d4f6..759d8a40bc 100644
--- a/meta-oe/recipes-security/audit/audit_3.0.8.bb
+++ b/meta-oe/recipes-security/audit/audit_3.0.8.bb
@@ -113,3 +113,5 @@ do_install:append() {
        # Create /var/spool/audit directory for audisp-remote
        install -m 0700 -d ${D}${localstatedir}/spool/audit
 }
+
+CVE_PRODUCT = "linux:audit"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122668): 
https://lists.openembedded.org/g/openembedded-devel/message/122668
Mute This Topic: https://lists.openembedded.org/mt/116798470/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

  • [oe] [meta-oe][kirkstone][PATCH ... Gyorgy Sarvari via lists.openembedded.org

Reply via email to