Skip to contentSkip to conversation

cve-check-map: Add accept-risk tag

PATCH Superseded Colin Pinnell McAllister 2 participants 3 messages Feb 26, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cve-check-map: Add accept-risk tag

Adds tag for downstream users of Poky to accept risk for CVEs.

---
Upcoming cybersecurity regulations allow for CVEs to be accepted on a risk basis. This tag will allow consumers of Poky to mark CVEs as ignored with this tag, which will help when feeding cve-check output into compliance documentation.

This is not intended to be used upstream and the comment tries to indicate that. If I need to be more explicit in my comment, I'm happy to send up a v2 patch.

 meta/conf/cve-check-map.conf | 2 ++
 1 file changed, 2 insertions(+)
meta/conf/cve-check-map.conf +2 -0
index ac956379d1..ef3aabe641 100644
@@ -32,6 +32,8 @@ CVE_CHECK_STATUSMAP[not-applicable-config] = "Ignored"
 CVE_CHECK_STATUSMAP[not-applicable-platform] = "Ignored"
 # use when upstream acknowledged the vulnerability but does not plan to fix it
 CVE_CHECK_STATUSMAP[upstream-wontfix] = "Ignored"
+# for poky consumers to use when adding justification for why they don't plan to fix it
+CVE_CHECK_STATUSMAP[accept-risk] = "Ignored"
 
 # use when it is impossible to conclude if the vulnerability is present or not
 CVE_CHECK_STATUSMAP[unknown] = "Unknown"
Signature · 1 line
2.34.1
#1 lore raw
Quoted 7 lines · Colin McAllister via lists.openembedded.org

Adds tag for downstream users of Poky to accept risk for CVEs.

---
Upcoming cybersecurity regulations allow for CVEs to be accepted on a risk basis. This tag will allow consumers of Poky to mark CVEs as

s/Poky/end users/

Quoted 15 lines

ignored with this tag, which will help when feeding cve-check output into compliance documentation.

This is not intended to be used upstream and the comment tries to indicate that. If I need to be more explicit in my comment, I'm happy to send up a v2 patch.

 meta/conf/cve-check-map.conf | 2 ++
 1 file changed, 2 insertions(+)
meta/conf/cve-check-map.conf +0 -0
index ac956379d1..ef3aabe641 100644

meta/conf/cve-check-map.conf CVE_CHECK_STATUSMAP[not-applicable-config] = "Ignored" · line 35

Quoted 4 lines
meta/conf/cve-check-map.conf +1 -0
@@ -32,6 +32,8 @@ CVE_CHECK_STATUSMAP[not-applicable-config] = "Ignored"
 CVE_CHECK_STATUSMAP[not-applicable-platform] = "Ignored"
 # use when upstream acknowledged the vulnerability but does not plan to fix it
 CVE_CHECK_STATUSMAP[upstream-wontfix] = "Ignored"
+# for poky consumers to use when adding justification for why they don't plan to fix it

Maybe better as something like:

"for end users to use when adding justification for why the do not
plan to fix a vulnerability (e.g. in local.conf or similar)"

Quoted 16 lines
meta/conf/cve-check-map.conf +1 -1
+CVE_CHECK_STATUSMAP[accept-risk] = "Ignored"
 
 # use when it is impossible to conclude if the vulnerability is present or not
 CVE_CHECK_STATUSMAP[unknown] = "Unknown"
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#211961): https://lists.openembedded.org/g/openembedded-core/message/211961
Mute This Topic: https://lists.openembedded.org/mt/111397328/3616693
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

PATCH v2 1/1 cve-check-map: Add accept-risk tag

In reply to Colin Pinnell McAllister

Adds tag for end users to accept risk for CVEs.

---
Upcoming cybersecurity regulations allow for CVEs to be accepted on a risk basis. This tag will allow end users to mark CVEs as ignored with this tag, which will help when feeding cve-check output into compliance documentation.

This is not intended to be used upstream and the comment tries to indicate that. If I need to be even more explicit in my comment, I'm happy to send up a v3 patch :)

V2 Changes:
* Updated wording in comment and commit message

 meta/conf/cve-check-map.conf | 2 ++
 1 file changed, 2 insertions(+)
meta/conf/cve-check-map.conf +2 -0
index ac956379d1..07895f3778 100644
@@ -32,6 +32,8 @@ CVE_CHECK_STATUSMAP[not-applicable-config] = "Ignored"
 CVE_CHECK_STATUSMAP[not-applicable-platform] = "Ignored"
 # use when upstream acknowledged the vulnerability but does not plan to fix it
 CVE_CHECK_STATUSMAP[upstream-wontfix] = "Ignored"
+# for end users to add justification why they won't fix it
+CVE_CHECK_STATUSMAP[accept-risk] = "Ignored"
 
 # use when it is impossible to conclude if the vulnerability is present or not
 CVE_CHECK_STATUSMAP[unknown] = "Unknown"
Signature · 1 line
2.34.1