diff mbox series

[scarthgap] libyaml: Fix warning regarding unpatched CVE

Message ID 20240803103554.100029-1-niko.mauno@vaisala.com
State Accepted
Delegated to: Steve Sakoman
Headers show
Series [scarthgap] libyaml: Fix warning regarding unpatched CVE | expand

Commit Message

Niko Mauno Aug. 3, 2024, 10:35 a.m. UTC
This commit incorporates changes in following master branch commits:

  f3479f74c9 libyaml: Amend CVE status as 'upstream-wontfix'
  3ebb2ca832 libyaml: Change CVE status to wontfix
  56b6b35626 libyaml: Update status of CVE-2024-35328

which mitigate the following warning with cve-check.bbclass:

   WARNING: libyaml-native-0.2.5-r0 do_cve_check: Found unpatched CVE (CVE-2024-35328), for more information check .../tmp/work/x86_64-linux/libyaml-native/0.2.5/temp/cve.log

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
---
 meta/recipes-support/libyaml/libyaml_0.2.5.bb | 2 ++
 1 file changed, 2 insertions(+)

Comments

Guðni Már Gilbert Aug. 3, 2024, 3:33 p.m. UTC | #1
Hi Niko, thanks for submitting this patch! I tested it locally and can confirm the resolves the warning I get during CVE check. One less CVE to worry about :) I hope this makes it into Scarthgap upstream.
diff mbox series

Patch

diff --git a/meta/recipes-support/libyaml/libyaml_0.2.5.bb b/meta/recipes-support/libyaml/libyaml_0.2.5.bb
index 4cb5717ece..1c6a5fcb45 100644
--- a/meta/recipes-support/libyaml/libyaml_0.2.5.bb
+++ b/meta/recipes-support/libyaml/libyaml_0.2.5.bb
@@ -18,4 +18,6 @@  inherit autotools
 DISABLE_STATIC:class-nativesdk = ""
 DISABLE_STATIC:class-native = ""
 
+CVE_STATUS[CVE-2024-35328] = "upstream-wontfix: Upstream thinks there is no working code that is exploitable - https://github.com/yaml/libyaml/issues/302"
+
 BBCLASSEXTEND = "native nativesdk"