<?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>102871</bug_id>
          
          <creation_ts>2005-08-17 10:21 0000</creation_ts>
          <short_desc>net-misc/openvpn: Multiple DoS issues</short_desc>
          <delta_ts>2005-09-18 02:28:08 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>
          
          <status_whiteboard>C3 [noglsa] jaervosz</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>103320</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>carlo@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>kaiowas@gentoo.org</cc>
    
    <cc>luckyduck@gentoo.org</cc>
    
    <cc>mr-russ@pws.com.au</cc>
    
    <cc>warpzero@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2005-08-17 10:21:21 0000</bug_when>
            <thetext>2005.08.16 -- Version 2.0.1

* Security Fix -- DoS attack against server when run with &quot;verb 0&quot; and
  without &quot;tls-auth&quot;.  If a client connection to the server fails
  certificate verification, the OpenSSL error queue is not properly
  flushed, which can result in another unrelated client instance on the
  server seeing the error and responding to it, resulting in disconnection
  of the unrelated client (CAN-2005-2531).
* Security Fix -- DoS attack against server by authenticated client.
  This bug presents a potential DoS attack vector against the server
  which can only be initiated by a connected and authenticated client.
  If the client sends a packet which fails to decrypt on the server,
  the OpenSSL error queue is not properly flushed, which can result in
  another unrelated client instance on the server seeing the error and
  responding to it, resulting in disconnection of the unrelated client
  (CAN-2005-2532).
* Security Fix -- DoS attack against server by authenticated client.
  A malicious client in &quot;dev tap&quot; ethernet bridging mode could
  theoretically flood the server with packets appearing to come from
  hundreds of thousands of different MAC addresses, causing the OpenVPN
  process to deplete system virtual memory as it expands its internal
  routing table.  A --max-routes-per-client directive has been added
  (default=256) to limit the maximum number of routes in OpenVPN&apos;s
  internal routing table which can be associated with a given client
  (CAN-2005-2533).
* Security Fix -- DoS attack against server by authenticated client.
  If two or more client machines try to connect to the server at the
  same time via TCP, using the same client certificate, and when
  --duplicate-cn is not enabled on the server, a race condition can
  crash the server with &quot;Assertion failed at mtcp.c:411&quot;
  (CAN-2005-2534).
* Fixed server bug where under certain circumstances, the client instance
  object deletion function would try to delete iroutes which had never been
  added in the first place, triggering &quot;Assertion failed at mroute.c:349&quot;.
* Added --auth-retry option to prevent auth errors from being fatal
  on the client side, and to permit username/password requeries in case
  of error.  Also controllable via new &quot;auth-retry&quot; management interface
  command.  See man page for more info.
* Added easy-rsa 2.0 scripts to the tarball in easy-rsa/2.0
* Fixed bug in openvpn.spec where rpmbuild --define &apos;without_pam 1&apos;
  would fail to build.
* Implement &quot;make check&quot; to perform loopback tests (Matthias Andree).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-08-17 21:57:15 0000</bug_when>
            <thetext>Secure-tunneling please bump and create/update a herd alias.  </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kaiowas@gentoo.org</who>
            <bug_when>2005-08-20 23:40:56 0000</bug_when>
            <thetext>according to devaway, cia and genbot luckyduck might still have connection problems.

a new shiny openvpn ebuild is available. tested and found OK on x86, unmask when
you see fit.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-08-21 07:26:03 0000</bug_when>
            <thetext>Arches, please test 2.0.1 and mark stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>metalgod@gentoo.org</who>
            <bug_when>2005-08-21 09:15:40 0000</bug_when>
            <thetext>Marked Stable on AMD64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hansmi@gentoo.org</who>
            <bug_when>2005-08-21 10:17:01 0000</bug_when>
            <thetext>Stable on ppc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2005-08-21 11:33:55 0000</bug_when>
            <thetext>stable on ppc-macos</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tester@gentoo.org</who>
            <bug_when>2005-08-24 15:59:25 0000</bug_when>
            <thetext>x86 there...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-08-25 11:43:59 0000</bug_when>
            <thetext>Waiting on sparc.
Ccing jforman which is the last sparc stable-izer, in case he can help.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2005-08-30 05:58:22 0000</bug_when>
            <thetext>sparc stable, sorry for the delay.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-08-30 08:35:50 0000</bug_when>
            <thetext>Ready for GLSA vote, I vote YES</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>taviso@gentoo.org</who>
            <bug_when>2005-08-30 09:30:39 0000</bug_when>
            <thetext>vote NO, sound like very minor issues for non-authenticated clients presumably 
the sequence of events to stop people connecting would have to be:

-&gt; attacker sends data that cannot be decrypted
-&gt; legitimate user connects, but connection fails
-&gt; attacker again
-&gt; legitimate user
-&gt; attacker

The attacker cant connect again before the legitimate user, or he would flush 
his own message queue? so would have to wait until he knows the legitimate user 
has failed, then send the bad data again, I dont think this is a feasible attack 
to prevent more than one or two connections.

The attacks from authenticated users are less minor, but not glsa worthy imho.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-08-30 12:24:01 0000</bug_when>
            <thetext>Seems like some very minor issues. Voting NO and closing. Feel free to reopen 
if you disagree. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-09-18 02:28:08 0000</bug_when>
            <thetext>*** Bug 106323 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>