<?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>3493</bug_id>
          
          <creation_ts>2012-11-27 02:29:09 +0000</creation_ts>
          <short_desc>Security Advisory - openssh -  CVE-2011-4327</short_desc>
          <delta_ts>2012-12-12 01:54:20 +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>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>P2</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Li Wang">li.wang</reporter>
          <assigned_to name="Li Wang">li.wang</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
    
    <cc>zhenfeng.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27708</commentid>
    <comment_count>0</comment_count>
    <who name="Li Wang">li.wang</who>
    <bug_when>2012-11-27 02:29:09 +0000</bug_when>
    <thetext>A security flaw was found in the way ssh-keysign, a ssh helper program for host based authentication, attempted to retrieve enough entropy information on configurations that lacked a built-in entropy pool in OpenSSL (a ssh-rand-helper program would be executed to retrieve the entropy from the system environment). A local attacker could use this flaw to obtain unauthorized access to host keys via ptrace(2) process trace attached to the &apos;ssh-rand-helper&apos; program.

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2011-4327</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27764</commentid>
    <comment_count>1</comment_count>
    <who name="Li Wang">li.wang</who>
    <bug_when>2012-11-28 08:22:00 +0000</bug_when>
    <thetext>Merged into master:
http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=bdce08215396e5ab99ada5fa0f62c3b002a44582</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28168</commentid>
    <comment_count>2</comment_count>
    <who name="Li Wang">li.wang</who>
    <bug_when>2012-12-12 01:54:20 +0000</bug_when>
    <thetext>openssh version is 6.0p1 on poky, and it need not the cve patch.
Because:

On 30 November 2012 22:41, Scott Garman &lt;scott.a.garman@intel.com&gt; wrote:
&gt; &gt; The second link you referenced above explains that the vulnerability exists
&gt; &gt; in versions prior to openssh 5.8p2, and yet your patch was submitted against
&gt; &gt; openssh 6.0p1. So it seems that this would not apply. Or am I
&gt; &gt; misunderstanding the nature of the bug?

Prior to 5.8p2 *and* not Linux:

2. Affected configurations

        Portable OpenSSH prior to version 5.8p2 only on platforms
        that are configured to use ssh-rand-helper for entropy
        collection.

        ssh-rand-helper is enabled at configure time when it is
        detected that OpenSSL does not have a built-in source of
        randomness, and only used at runtime if this condition
        remains. Platforms that support /dev/random or otherwise
        configure OpenSSL with a random number provider are not
        vulnerable.

        In particular, *BSD, OS X, Cygwin and Linux are not
        affected.

The function has already been removed from OpenSSH prior to version 5.8p2:
ChangeLog:
20110505
- (djm) [Makefile.in WARNING.RNG aclocal.m4 buildpkg.sh.in configure.ac]
  [entropy.c ssh-add.c ssh-agent.c ssh-keygen.c ssh-keyscan.c]
  [ssh-keysign.c ssh-pkcs11-helper.c ssh-rand-helper.8 ssh-rand-helper.c]
  [ssh.c ssh_prng_cmds.in sshd.c contrib/aix/buildbff.sh]
  [regress/README.regress] Remove ssh-rand-helper and all its
  tentacles. PRNGd seeding has been rolled into entropy.c directly.
  Thanks to tim@ for testing on affected platforms.

So, please revert the patch.
Thanks,
LiWang.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>