<?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>10707</bug_id>
          
          <creation_ts>2016-11-22 17:49:05 +0000</creation_ts>
          <short_desc>Fix CVE defects in openssl by upgrading bugfix/letter release</short_desc>
          <delta_ts>2017-03-23 15:28: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>connectivity</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Randy MacLeod">randy.macleod</reporter>
          <assigned_to name="Randy MacLeod">randy.macleod</assigned_to>
          <cc>akuster</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68500</commentid>
    <comment_count>0</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2016-11-22 17:49:05 +0000</bug_when>
    <thetext>Openssl fixes bug (but occasionally changes the API) in letter releases so YP should follow that as well rather than cherry-picking back CVE patches.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68506</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2016-11-22 19:12:52 +0000</bug_when>
    <thetext>The YP practice has been to maintain the letter release and to cherry-pick back specific CVE and other bug fixes. The proposed change it to track
the letter releases: so for morty: 
   openssl_1.0.2j 
would be followed by:
   openssl_1.0.2k

Other linux distros do this. The benefit is easier integration of bug fixes.
The risk is that upstream could (and has in the past) introduced &apos;minor&apos; API changes. Should we decide that the benefits outweigh the risks, we would need to
rigorously check for API changes and if any are found, we could patch those out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68707</commentid>
    <comment_count>2</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2016-11-30 01:41:29 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; The YP practice has been to maintain the letter release and to cherry-pick
&gt; back specific CVE and other bug fixes. 

This should be driven more by the upstream package maintainer version/revision  plan if they have one. If the minor version bump is a bug fix only, then updating a package a seems reasonable coarse of action. But if a critical fix has been posted and no new version released, then what? (backport the fix, my recommendation ).

We are terrible inconsistent. We update the minor versions of the kernel but not the toolchain. They both are bug fixes only. Sorry, got of topic ; )

The proposed change it to track
&gt; the letter releases: so for morty: 
&gt;    openssl_1.0.2j 
&gt; would be followed by:
&gt;    openssl_1.0.2k

I think we need to refine the overall package update/fix guidelines and leave  any deviations to the package maintainers listed in the layers. I don&apos;t want to single out &quot;openssl&quot;. I suspect there are other cases like this that exist.

&gt; 
&gt; Other linux distros do this. The benefit is easier integration of bug fixes.

agree.

&gt; The risk is that upstream could (and has in the past) introduced &apos;minor&apos; API
&gt; changes. Should we decide that the benefits outweigh the risks, we would
&gt; need to
&gt; rigorously check for API changes and if any are found, we could patch those
&gt; out.

We some CVE fixes where to degrade or eliminate an API because it is inherently flawed. Kinda had to make the changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70403</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2017-02-02 20:27:19 +0000</bug_when>
    <thetext>The consensus on the openembedded-architecture@lists.openembedded.org list is that there are risks in tracking minor releases that the project does not have the tools or people to deal with. 

I&apos;ll close the enhancement unless someone has a different proposal before Feb 6, 2017.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71647</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2017-03-23 15:28:45 +0000</bug_when>
    <thetext>As explained previously, the YP has to minimize risk and test effort so this enhancement and change in policy will not be implemented unless there is an increase in participation in the community.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>