<?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>13109</bug_id>
          
          <creation_ts>2018-12-29 09:36:49 +0000</creation_ts>
          <short_desc>Implement CPE to package to Release mapping</short_desc>
          <delta_ts>2024-05-09 16:59:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Security Response Tool</product>
          <component>General</component>
          <version>2.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>NIR 11/03</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>5.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Reyna">david.reyna</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          <cc>randy.macleod</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>82627</commentid>
    <comment_count>0</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2018-12-29 09:36:49 +0000</bug_when>
    <thetext>The CPE Goal:
1)	Match CVEs to Releases
2)	Match CVEs to Builds

The CPE Problem:
1) CVEs
	* May be missing CPEs (e.g. all new CVEs)
	* May be missing YP matches (false negatives)
	* May have errors (false positives)

2) YP Recipes
	* No existing CPE map list
	* Recipe naming does not fully match package naming
	* Package version numbers may not exactly match

Proposed CPE Solution:
1) Allow for SRT-based CPEs to fill in the matching gaps
2) Create a &quot;Package&quot; object that can map NIST-CPEs to YP-CPEs
3) Start maintaining a Recipe-To-Package table
4) Allow for flexible name/version mapping [any|version(s)], with confidence levels</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88204</commentid>
    <comment_count>1</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2020-09-24 03:42:40 +0000</bug_when>
    <thetext>We have been working on an implementation, and it will be ready for YP-3.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88777</commentid>
    <comment_count>2</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2020-12-16 07:30:48 +0000</bug_when>
    <thetext>It turns out that this is very very hard, give the poor mapping of CPEs to recipes, even when CPEs are avialable.

My new strategy is to find ways to integrate with existing second and third tools in an agnostic manner.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96720</commentid>
    <comment_count>3</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2023-10-18 20:48:03 +0000</bug_when>
    <thetext>Perhaps data from CVE Checker can help provide advice on how to proceed.

Wind River&apos;s solution is that our triage management identifies the recipe from the CVE (mostly form the description given that the CPE table is usually empty for new CVEs), and our defect system tracks the CVEs by those recipe names. 

Ideally we have at least semi-automated assistance in those mappings.

David</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97240</commentid>
    <comment_count>4</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2023-11-09 18:48:39 +0000</bug_when>
    <thetext>I am moving this away from &quot;NEEDINFO&quot;. 

While this feature request definity needs more information about systemic difficulties in finding a resolution, it does not need the urgency of NEEDINFO.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98991</commentid>
    <comment_count>5</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2024-05-09 16:59:36 +0000</bug_when>
    <thetext>This needs a mandate to implement. Will re-file new defect when that happens.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>