Skip to contentSkip to conversation

ovmf: set CVE_PRODUCT and CVE_VERSION

PATCH Superseded [email protected] 2 participants 2 messages Mar 6, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ovmf: set CVE_PRODUCT and CVE_VERSION

From: Chen Qi <[email protected]>

Set CVE_PRODUCT and CVE_VERSION for ovmf. NVD uses 'edk2' and the version should be the date only. Here's an example:
https://nvd.nist.gov/vuln/detail/CVE-2023-45232

---
 meta/recipes-core/ovmf/ovmf_git.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-core/ovmf/ovmf_git.bb +3 -0
index 3dc031d3b6..6931536229 100644
@@ -30,6 +30,9 @@ PV = "edk2-stable202308"
 SRCREV = "819cfc6b42a68790a23509e4fcc58ceb70e1965e"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>edk2-stable.*)"
 
+CVE_PRODUCT = "edk2"
+CVE_VERSION = "202308"
+
 inherit deploy
 
 PARALLEL_MAKE = ""
Signature · 1 line
2.34.1
#1 lore raw
Quoted 1 line · Chen Qi via lists.openembedded.org

+CVE_VERSION = "202308"

This will almost certainly become mismatched with PV on version updates, so please set from PV with a helper function.

Alex