<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>201296</bug_id>
          
          <creation_ts>2007-12-04 23:31 0000</creation_ts>
          <short_desc>x11-libs/qt-4.3* &lt; 4.3.2-r1 emul-linux-x86-qtlibs &lt; 20071210 QSslSocket missing SSL certificate verification (CVE-2007-5965)</short_desc>
          <delta_ts>2007-12-30 19:35:31 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Vulnerabilities</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://trolltech.com/company/newsroom/announcements/press.2007-12-21.2182567220</bug_file_loc>
          <status_whiteboard>A4 [noglsa]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>rbu@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>armin76@gentoo.org</cc>
    
    <cc>beandog@gentoo.org</cc>
    
    <cc>caleb@gentoo.org</cc>
    
    <cc>corsair@gentoo.org</cc>
    
    <cc>dertobi123@gentoo.org</cc>
    
    <cc>fauli@gentoo.org</cc>
    
    <cc>ferdy@gentoo.org</cc>
    
    <cc>jer@gentoo.org</cc>
    
    <cc>kingtaco@gentoo.org</cc>
    
    <cc>tsunam@gentoo.org</cc>
    
    <cc>welp@gentoo.org</cc>
    
    <cc>wolf31o2@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-12-04 23:31:34 0000</bug_when>
            <thetext>Thiago Macieira of Trolltech wrote:
  Qt 4 has a potential vulnerability in QSslSocket, which might cause a the 
  certificate verification in SSL connections not to be performed. As a 
  consequence, code using QSslSocket might be mislead into thinking the 
  certificate was verified correctly when it actually failed in one or more 
  criterea

  To solve the issue, apply the following patch that is attached.

  The next maintenance release of Qt 4 will have the patch included.

  Versions affected: 4.3.0, 4.3.1 and 4.3.2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-12-04 23:33:08 0000</bug_when>
            <thetext>Created an attachment (id=137760)
qsslsocket-fix.patch

Upstream propsed patch</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-12-04 23:35:43 0000</bug_when>
            <thetext>We&apos;re handling this confidential as I am not aware of a coordinated release date yet. Caleb, please do not commit the patch yet. If you want to, you can prepare an ebuild and attach it to this bug.

However, since this issue is of a low impact, my advise would be to go normal stabling process via arch teams once this is public.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2007-12-05 12:53:30 0000</bug_when>
            <thetext>The patch looks pretty harmless, so I won&apos;t bother with attaching an ebuild.  I&apos;ll just wait for the announcement or release notification, and throw it into portage at that time.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-12-05 17:09:38 0000</bug_when>
            <thetext>&quot;Qt 4.3.3, due out today, is not affected by this issue. It affects 
only 4.3.0, 4.3.1 and 4.3.2.&quot;

So we can bump the ebuild in the tree before disclosure.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2007-12-05 17:20:50 0000</bug_when>
            <thetext>I got my commercial Qt today, but I&apos;m not sure if we want to do that with the open source one when it&apos;s out in a few hours.  Namely, we don&apos;t know what else was &quot;fixed&quot; in 4.2.2 -&gt; 4.2.3.  I vote to just revbump 4.2.2 with the patch.  In fact, if you want we can bump it in portage with the patch before the disclosure and not make public mention of the reason for the patch until disclosure.  Thoughts?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-12-05 19:30:02 0000</bug_when>
            <thetext>QT 4.3.3 contains this fix and probably some other patches. Feel free to include this patch into 4.3.2 and we&apos;ll handle prestabling in this bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2007-12-05 23:52:47 0000</bug_when>
            <thetext>qt-4.3.2-r1 has been committed with this patch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-12-06 00:09:26 0000</bug_when>
            <thetext>Adding arch security liaisons (plus opfer and armin76) and Chris for releng.

Please test and mark stable x11-libs/qt-4.3.2-r1.
Target keywords : &quot;alpha amd64 hppa ia64 mips ppc ppc64 sparc x86&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-12-06 07:49:53 0000</bug_when>
            <thetext>On x86 I get this, but it goes on fine.

rm -f *~ core *.core
g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/linux-g++ -I. -I. -o ptrsizetest.o ptrsizetest.cpp
ptrsizetest.cpp: In function ‘int main(int, char**)’:
ptrsizetest.cpp:18: error: ‘PointerSize’ is not a member of ‘QPointerSizeTest&lt;4&gt;’
make: *** [ptrsizetest.o] Error 1
Pointer size: 4
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2007-12-06 11:23:14 0000</bug_when>
            <thetext>That warning is fine, I believe.  It&apos;s just part of their system checks.  The output probably should be supressed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-12-06 12:18:24 0000</bug_when>
            <thetext>Why not 4.3.3?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2007-12-06 12:45:23 0000</bug_when>
            <thetext>If you want to stablize 4.3.3, then by all means go for it.  But it has a lot more &quot;bug fixes&quot; than just this particular issue, and since it&apos;s been in portage for only a day now I wasn&apos;t comfortable with requesting it for stabilization.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-12-06 16:04:21 0000</bug_when>
            <thetext>x86 stable for 4.3.2-r1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-12-06 16:46:04 0000</bug_when>
            <thetext>alpha/ia64/sparc stable for 4.3.2-r1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-12-07 13:59:33 0000</bug_when>
            <thetext>ppc64 stable (qt-4.3.2-r1)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2007-12-07 14:01:05 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-12-07 16:15:06 0000</bug_when>
            <thetext>Stable for HPPA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-12-10 13:16:53 0000</bug_when>
            <thetext>amd64 stable, last arch.

This is ready for GLSA decision. I tend to vote yes.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-12-10 16:23:01 0000</bug_when>
            <thetext>taco, please merge this into a new qt emul.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>welp@gentoo.org</who>
            <bug_when>2007-12-11 00:28:43 0000</bug_when>
            <thetext>Bumped the emul ebuild with new Qt, not yet stable though.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>welp@gentoo.org</who>
            <bug_when>2007-12-11 22:01:13 0000</bug_when>
            <thetext>app-emulation/emul-linux-x86-qtlibs-20071210 stable on amd64</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-12-30 19:21:11 0000</bug_when>
            <thetext>public via $URL

I vote NO on this bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>py@gentoo.org</who>
            <bug_when>2007-12-30 19:35:31 0000</bug_when>
            <thetext>no too, closing.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>137760</attachid>
            <date>2007-12-04 23:33 0000</date>
            <desc>qsslsocket-fix.patch</desc>
            <filename>qsslsocket-fix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiBzcmMvbmV0d29yay9xc3Nsc29ja2V0X29wZW5zc2wuY3BwIHNyYy9uZXR3b3JrL3Fzc2xz
b2NrZXRfb3BlbnNzbC5jcHAKLS0tIHNyYy9uZXR3b3JrL3Fzc2xzb2NrZXRfb3BlbnNzbC5jcHAK
KysrIHNyYy9uZXR3b3JrL3Fzc2xzb2NrZXRfb3BlbnNzbC5jcHAKQEAgLTE4OCw4ICsxODgsOCBA
QCBzdHJ1Y3QgUVNzbEVycm9yTGlzdAogUV9HTE9CQUxfU1RBVElDKFFTc2xFcnJvckxpc3QsIF9x
X3NzbEVycm9yTGlzdCkKIHN0YXRpYyBpbnQgcV9YNTA5Q2FsbGJhY2soaW50IG9rLCBYNTA5X1NU
T1JFX0NUWCAqY3R4KQogewotICAgIFFfVU5VU0VEKG9rKTsKLSAgICBfcV9zc2xFcnJvckxpc3Qo
KS0+ZXJyb3JzIDw8IGN0eC0+ZXJyb3I7CisgICAgaWYgKCFvaykKKyAgICAgICAgX3Ffc3NsRXJy
b3JMaXN0KCktPmVycm9ycyA8PCBjdHgtPmVycm9yOwogICAgIHJldHVybiBjdHgtPmVycm9yOwog
fQogCkBAIC0yOTcsNiArMjk3LDcgQEAgYm9vbCBRU3NsU29ja2V0QmFja2VuZFByaXZhdGU6Omlu
aXRTc2xDb250ZXh0KCkKIAogICAgIC8vIENsZ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