<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16168</bug_id>
          
          <creation_ts>2026-02-10 17:39:15 +0000</creation_ts>
          <short_desc>SPDX generation should include patch-fixed-CVE annotations</short_desc>
          <delta_ts>2026-05-14 14:54:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>deployment</component>
          <version>5.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Joshua Watt">JPEWhacker</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104219</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-02-10 17:39:15 +0000</bug_when>
    <thetext>The SPDXv3 output doesn&apos;t include useful metadata like &quot;this CVE was fixed by these patches&quot;. This is included in the vex output:

      &quot;issue&quot;: [
        {
          &quot;id&quot;: &quot;CVE-2022-28391&quot;,
          &quot;status&quot;: &quot;Patched&quot;,
          &quot;link&quot;: &quot;https://nvd.nist.gov/vuln/detail/CVE-2022-28391&quot;,
          &quot;detail&quot;: &quot;fix-file-included&quot;,
          &quot;patch-file&quot;: [
            &quot;/home/rosbur01/Yocto/openembedded-core/meta/recipes-core/busybox/busybox/0001-libbb-sockaddr2str-ensure-only-printable-characters-.patch&quot;,
            &quot;/home/rosbur01/Yocto/openembedded-core/meta/recipes-core/busybox/busybox/0002-nslookup-sanitize-all-printed-strings-with-printable.patch&quot;
          ]
        },

It would be good to not need the vex class, and to have this information in the SPDX.

Concrete use-case being sbom-cve-tool ideally wants both the SPDX and VEX for this data.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105434</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2026-05-14 14:54:39 +0000</bug_when>
    <thetext>Fixed in 9e85daf516 (&quot;spdx30: Include patch file information in VEX&quot;)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>