<?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>8119</bug_id>
          
          <creation_ts>2015-08-06 20:17:00 +0000</creation_ts>
          <short_desc>Define a format to mark Upstream CVE patches</short_desc>
          <delta_ts>2016-02-16 16:12:16 +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>core</component>
          <version>1.9</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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>2.1 M2</target_milestone>
          
          <blocked>7515</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Aníbal Limón">anibal.limon</reporter>
          <assigned_to name="Mariano Lopez">mariano.lopez</assigned_to>
          <cc>akuster</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>mariano.lopez</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          <qa_contact name="Daniel Istrate">daniel.alexandrux.istrate</qa_contact>
          <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>52884</commentid>
    <comment_count>0</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-08-06 20:17:00 +0000</bug_when>
    <thetext>Now the patches to upstream sources don&apos;t say if this patch is a CVE.

We need to define a upstream patching format for mark patches that are CVE&apos;s.
to help to make track of CVE vulnerabilities into recipes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53032</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2015-08-12 16:01:56 +0000</bug_when>
    <thetext>Clearing 2.0 milestone</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53043</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-08-12 16:31:56 +0000</bug_when>
    <thetext>Clear Linux (and the cve checking tool they use) simply states that CVE patches have &quot;cve-XXXX-YYYY&quot; in the filename somewhere.

We *could* go a step further and add a new metadata tag to the patch header alongside Upstream-Status, maybe just as simple as CVE: CVE-2015-1234.

From an impact to the repository point of view, adding a new tag is easier as it&apos;s just a matter of adding a single line to the file instead of renaming and updating recipes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53338</commentid>
    <comment_count>3</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-08-21 20:13:27 +0000</bug_when>
    <thetext>Hey Ross, is this something like adding that tag in the [Tags] section of the commit?

------------------------
&lt;commit title&gt;

[commit message]

[Tags]

&lt;Signature&gt;
-----------------------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56403</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-11-12 00:23:49 +0000</bug_when>
    <thetext>Upstream-Status: Security 

I would also have the CVSS score too. 

ie:
CVE: CVE-yyyy-xxxx
CVSS: (0 -10)

this info is can be used when creating release notes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57279</commentid>
    <comment_count>5</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-12-15 16:07:55 +0000</bug_when>
    <thetext>I started a RFC thread in OE-core, OE-devel, so we get more input. Feel free to comment.

http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114166.html

http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114166.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57489</commentid>
    <comment_count>6</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-12-29 20:24:34 +0000</bug_when>
    <thetext>Will wait after the holidays to reach a conclusion</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57519</commentid>
    <comment_count>7</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-01-04 18:31:34 +0000</bug_when>
    <thetext>is today after the holidays? :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57520</commentid>
    <comment_count>8</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2016-01-04 18:35:25 +0000</bug_when>
    <thetext>Very funny!

You can check the thread conclusion in: 

http://lists.openembedded.org/pipermail/openembedded-core/2016-January/114770.html

I will update the wiki to reflect this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57681</commentid>
    <comment_count>9</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2016-01-08 15:24:02 +0000</bug_when>
    <thetext>The wiki has been updated to reflect this change:

http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#CVE_Patches

Now all the patches, that solve CVEs, must have the &quot;CVE:&quot; tag in header</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59112</commentid>
    <comment_count>10</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2016-02-16 16:12:16 +0000</bug_when>
    <thetext>Verified: The wiki was indeed updated.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>