augeas: Add CVE_PRODUCT to support product name
PATCH 1/1 augeas: Add CVE_PRODUCT to support product name
From: Himanshu Jadon <[email protected]>
- Set CVE_PRODUCT to align with the NVD CPE and ensure correct CVE reporting.
--- meta-oe/recipes-support/augeas/augeas_1.12.0.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-oe/recipes-support/augeas/augeas_1.12.0.bb +3 -0
@@ -33,3 +33,6 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux" EXTRA_AUTORECONF += "-I ${S}/gnulib/m4" + +# Add CVE_PRODUCT to match the NVD CPE product name +CVE_PRODUCT = "augeas:augeas"
Signature · 1 line
2.35.6
Quoted 17 lines · On 4/13/26 13:23, Himanshu Jadon -X (hjadon - E INFOCHIPS PRIVATE LIMITED at…
From: Himanshu Jadon <[email protected]>
- Set
CVE_PRODUCTto align with the NVD CPE and ensure correct CVE reporting.Signed-off-by Himanshu Jadon <[email protected]>--- meta-oe/recipes-support/augeas/augeas_1.12.0.bb | 3 +++ 1 file changed, 3 insertions(+)meta-oe/recipes-support/augeas/augeas_1.12.0.bb +0
-0
meta-oe/recipes-support/augeas/augeas_1.12.0.bb PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" · line 38
Quoted 6 lines
meta-oe/recipes-support/augeas/augeas_1.12.0.bb +3
-0@@ -33,3 +33,6 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux" EXTRA_AUTORECONF += "-I ${S}/gnulib/m4" + +# Add CVE_PRODUCT to match the NVD CPE product name +CVE_PRODUCT = "augeas:augeas"
I can't find any CVE records with a different vendor in the db, and the CPE dictionary at NVD seems to have only one product with this name... are there any misreported CVEs or potentially ambiguous CPEs that I have missed, and that triggered this patch?
Thanks for checking and raising this point.
You are right that currently NVD shows only one clear CPE mapping for augeas, and at present we have not observed any misreported CVEs or any ambiguous CPE matches for this recipe.
This patch was added as a proactive metadata update. The intention is to make the recipe-to-CPE mapping explicit, instead of depending on implicit name matching. This helps us keep mapping behavior stable if matching logic changes later, or if NVD adds another vendor:product combination in future with a similar token.
As of now, this change does not alter current CVE report results. It is only for clarity and future safety, and it does not impact build or runtime behaviour.
Quoted 7 lines · On 4/15/26 08:14, Himanshu Jadon -X (hjadon - E INFOCHIPS PRIVATE LIMITED at…
Thanks for checking and raising this point.
You are right that currently NVD shows only one clear CPE mapping for augeas, and at present we have not observed any misreported CVEs or any ambiguous CPE matches for this recipe.
This patch was added as a proactive metadata update. The intention is to
Quoted 10 lines
make the recipe-to-CPE mapping explicit, instead of depending on implicit name matching. This helps us keep mapping behavior stable if matching logic changes later, or if NVD adds another vendor:product combination in future with a similar token.
As of now, this change does not alter current CVE report results. It is only for clarity and future safety, and it does not impact build or runtime behaviour.
The current behavior is considered to be a feature, most recipes work just fine with the default CVE_PRODUCT (including this one). Explicit CVE_PRODUCT tags should be added only when they are really needed - when there are multiple CPEs associated with a recipe, or when multiple vendors provide different software with the same name.
(Otherwise, if this explicit vendor:product matching would be really desired, it should be done for all recipes, not only 1-2 select ones - but in that case the change would fit the originating bbclass better)