<?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>13687</bug_id>
          
          <creation_ts>2019-12-06 13:41:17 +0000</creation_ts>
          <short_desc>cve-check should distinguish between &quot;Patched&quot; and &quot;Ignored&quot;</short_desc>
          <delta_ts>2020-03-19 06:23:45 +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>devtools / tool chain</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>cve-check.bbclass</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>4.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Bunk">bunk</reporter>
          <assigned_to name="Chee Yang">chee.yang.lee</assigned_to>
          <cc>chee.yang.lee</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85757</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Bunk">bunk</who>
    <bug_when>2019-12-06 13:41:17 +0000</bug_when>
    <thetext>Sometimes CVE_CHECK_WHITELIST is needed for stating that a CVE is fixed.
Examples for this case are incorrect CPE data, or cases where an upstream stable branch is followed that contains the fix.

But there are also cases where a CVE is not patched but ignored, example:
PACKAGE NAME: procps
PACKAGE VERSION: 3.3.15
CVE: CVE-2018-1121
CVE STATUS: Patched

Another example for the latter would be CVE-2019-15847, which is a non-issue for a distribution supporting only ARM targets so can be ignored for such distributions.

These are two different cases, which need different syntax.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86723</commentid>
    <comment_count>1</comment_count>
    <who name="Chee Yang">chee.yang.lee</who>
    <bug_when>2020-03-16 08:29:54 +0000</bug_when>
    <thetext>these should works
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes?id=932ac04cb843a42fa174cd412ae24b2f9eda8eaf
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes?id=e753b71b392381315ce730186eb020c33fbf828b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>