<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Marketgrid Consulting Blog &#187; OpenSSL</title>
	<atom:link href="http://www.marketgrid.com/blog/tag/openssl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marketgrid.com/blog</link>
	<description>MySQL, website development and performance news</description>
	<lastBuildDate>Mon, 09 Jan 2012 12:39:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>OpenSSL version 1.0.1 Beta 1</title>
		<link>http://www.marketgrid.com/blog/2012/01/openssl-version-1-0-1-beta-1/</link>
		<comments>http://www.marketgrid.com/blog/2012/01/openssl-version-1-0-1-beta-1/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 12:39:12 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[OpenSSL]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=591</guid>
		<description><![CDATA[OpenSSL - The Open Source toolkit for SSL/TLS http://www.openssl.org/ OpenSSL is currently in a release cycle. The first beta is now released.]]></description>
			<content:encoded><![CDATA[<pre>
  OpenSSL - The Open Source toolkit for SSL/TLS <a href="http://www.openssl.org/">http://www.openssl.org/</a>

  OpenSSL is currently in a release cycle. The first beta is now released.</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2012/01/openssl-version-1-0-1-beta-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSL 1.0.0d released</title>
		<link>http://www.marketgrid.com/blog/2011/02/openssl-1-0-0d-released/</link>
		<comments>http://www.marketgrid.com/blog/2011/02/openssl-1-0-0d-released/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 13:19:23 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=503</guid>
		<description><![CDATA[OpenSSL version 1.0.0d released =============================== OpenSSL &#8211; The Open Source toolkit for SSL/TLS http://www.openssl.org/ The OpenSSL project team has announced the release of version 1.0.0d of their open source toolkit for SSL/TLS. This new OpenSSL version is a security and bugfix release. For a complete list of changes, please see http://www.openssl.org/source/exp/CHANGES. The most significant changes [...]]]></description>
			<content:encoded><![CDATA[<p>OpenSSL version 1.0.0d released</p>
<p>===============================</p>
<p>OpenSSL &#8211; The Open Source toolkit for SSL/TLS http://www.openssl.org/</p>
<p>The OpenSSL project team has announced the release of version 1.0.0d of their open source toolkit for SSL/TLS. This new OpenSSL version is a security and bugfix release. For a complete list of changes, please see</p>
<p>http://www.openssl.org/source/exp/CHANGES.</p>
<p>The most significant changes are:</p>
<p>o Fix for security issue CVE-2011-0014 [http://www.openssl.org/news/secadv_20110208.txt]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2011/02/openssl-1-0-0d-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSL Security Advisory: OCSP stapling vulnerability</title>
		<link>http://www.marketgrid.com/blog/2011/02/openssl-security-advisory-ocsp-stapling-vulnerability/</link>
		<comments>http://www.marketgrid.com/blog/2011/02/openssl-security-advisory-ocsp-stapling-vulnerability/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 13:17:19 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[OpenSSL Security Advisory]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=501</guid>
		<description><![CDATA[OpenSSL Security Advisory [8 February 2011] OCSP stapling vulnerability in OpenSSL ====================================== Incorrectly formatted ClientHello handshake messages could cause OpenSSL to parse past the end of the message. This issue applies to the following versions: 1) OpenSSL 0.9.8h through 0.9.8q 2) OpenSSL 1.0.0 through 1.0.0c The parsing function in question is already used on arbitary [...]]]></description>
			<content:encoded><![CDATA[<p>OpenSSL Security Advisory [8 February 2011]</p>
<p>OCSP stapling vulnerability in OpenSSL</p>
<p>======================================</p>
<p>Incorrectly formatted ClientHello handshake messages could cause OpenSSL to parse past the end of the message.</p>
<p>This issue applies to the following versions:</p>
<p>1) OpenSSL 0.9.8h through 0.9.8q</p>
<p>2) OpenSSL 1.0.0 through 1.0.0c</p>
<p>The parsing function in question is already used on arbitary data so no</p>
<p>additional vulnerabilities are expected to be uncovered by this.</p>
<p>However, an attacker may be able to cause a crash (denial of service) by</p>
<p>triggering invalid memory accesses.</p>
<p>The results of the parse are only availible to the application using</p>
<p>OpenSSL so do not directly cause an information leak. However, some</p>
<p>applications may expose the contents of parsed OCSP extensions,</p>
<p>specifically an OCSP nonce extension. An attacker could use this to read</p>
<p>the contents of memory following the ClientHello.</p>
<p>Users of OpenSSL should update to the OpenSSL 1.0.0d (or 0.9.8r) release,</p>
<p>which contains a patch to correct this issue. If upgrading is not</p>
<p>immediately possible, the source code patch provided in this advisory</p>
<p>should be applied.</p>
<p>Neel Mehta (Google) identified the vulnerability. Adam Langley and</p>
<p>Bodo Moeller (Google) prepared the fix.</p>
<p>Which applications are affected</p>
<p>- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Applications are only affected if they act as a server and call</p>
<p>SSL_CTX_set_tlsext_status_cb on the server&#8217;s SSL_CTX. This includes</p>
<p>Apache httpd &gt;= 2.3.3.</p>
<p>Patch</p>
<p>- &#8212;&#8211;</p>
<pre>- --- ssl/t1_lib.c      25 Nov 2010 12:28:28 -0000    1.64.2.17</pre>
<pre>+++ ssl/t1_lib.c  8 Feb 2011 00:00:00 -0000</pre>
<pre>@@ -917,6 +917,7 @@</pre>
<pre>}</pre>
<pre>n2s(data, idsize);</pre>
<pre>dsize -= 2 + idsize;</pre>
<pre>+                             size -= 2 + idsize;</pre>
<pre>if (dsize &lt; 0)</pre>
<pre>{</pre>
<pre>*al = SSL_AD_DECODE_ERROR;</pre>
<pre>@@ -955,9 +956,14 @@</pre>
<pre>}</pre>
<pre></pre>
<pre>/* Read in request_extensions */</pre>
<pre>+                       if (size &lt; 2)</pre>
<pre>+                             {</pre>
<pre>+                             *al = SSL_AD_DECODE_ERROR;</pre>
<pre>+                             return 0;</pre>
<pre>+                             }</pre>
<pre>n2s(data,dsize);</pre>
<pre>size -= 2;</pre>
<pre>- -                     if (dsize &gt; size)</pre>
<pre>+                       if (dsize != size)</pre>
<pre>{</pre>
<pre>*al = SSL_AD_DECODE_ERROR;</pre>
<pre>return 0;</pre>
<p>References</p>
<p>- &#8212;&#8212;&#8212;-</p>
<p>This vulnerability is tracked as CVE-2011-0014.</p>
<p>URL for this Security Advisory:</p>
<p>http://www.openssl.org/news/secadv_20110208.txt</p>
<p>OCSP stapling is defined in RFC 2560.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2011/02/openssl-security-advisory-ocsp-stapling-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSL security advisory</title>
		<link>http://www.marketgrid.com/blog/2010/12/openssl-security-advisory-3/</link>
		<comments>http://www.marketgrid.com/blog/2010/12/openssl-security-advisory-3/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 08:51:59 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Patch]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=442</guid>
		<description><![CDATA[OpenSSL Ciphersuite Downgrade Attack A flaw has been found in the OpenSSL SSL/TLS server code where an old bug workaround allows malicous clients to modify the stored session cache ciphersuite. In some cases the ciphersuite can be downgraded to a weaker one on subsequent connections. The OpenSSL security team would like to thank Martin Rex [...]]]></description>
			<content:encoded><![CDATA[<h1>OpenSSL Ciphersuite Downgrade Attack</h1>
<p>A flaw has been found in the OpenSSL SSL/TLS server code where an old bug workaround allows malicous clients to modify the stored session cache ciphersuite. In some cases the ciphersuite can be downgraded to a weaker one on subsequent connections.</p>
<p>The OpenSSL security team would like to thank Martin Rex for reporting this issue.</p>
<p>This vulnerability is tracked as CVE-2010-4180</p>
<h2>OpenSSL JPAKE validation error</h2>
<p>Sebastian Martini found an error in OpenSSL&#8217;s J-PAKE implementation which could lead to successful validation by someone with no knowledge of the shared secret. This error is fixed in 1.0.0c. Details of the problem can be found here:</p>
<p><a href="http://seb.dbzteam.org/crypto/jpake-session-key-retrieval.pdf">http://seb.dbzteam.org/crypto/jpake-session-key-retrieval.pdf</a></p>
<p>Note that the OpenSSL Team still consider our implementation of J-PAKE to be experimental and is not compiled by default.</p>
<p>This issue is tracked as CVE-2010-4252</p>
<h2>Who is affected?</h2>
<p>All versions of OpenSSL contain the ciphersuite downgrade vulnerability.</p>
<p>Any OpenSSL based SSL/TLS server is vulnerable if it uses OpenSSL&#8217;s internal caching mechanisms and the SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG flag (many applications enable this by using the SSL_OP_ALL option).</p>
<p>Users of OpenSSL 0.9.8j or later who do not enable weak ciphersuites are still vulnerable but the bug has no security implications as the attacker can only change from one strong ciphersuite to another.</p>
<p>All users of OpenSSL&#8217;s experimental J-PAKE implementation are vulnerable to the J-PAKE validation error.</p>
<h2>Recommendations for users of OpenSSL</h2>
<p>Users of all OpenSSL 0.9.8 releases including 0.9.8p should update to the OpenSSL 0.9.8q release which contains a patch to correct this issue.</p>
<p>Alternatively do not set the SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG and/or SSL_OP_ALL flags.</p>
<p>Users of OpenSSL 1.0.0 releases should update to the OpenSSL 1.0.0c release which contains a patch to correct this issue and also contains a corrected version of the CVE-2010-3864 vulnerability fix.</p>
<p>If upgrading is not immediately possible, the relevant source code patch provided in this advisory should be applied.</p>
<p>Any user of OpenSSL&#8217;s J-PAKE implementaion (which is not compiled in by default) should upgrade to OpenSSL 1.0.0c.</p>
<h2>Patch</h2>
<pre>Index: ssl/s3_clnt.c</pre>
<pre>===================================================================</pre>
<pre>RCS file: /v/openssl/cvs/openssl/ssl/s3_clnt.c,v</pre>
<pre>retrieving revision 1.129.2.16</pre>
<pre>diff -u -r1.129.2.16 s3_clnt.c</pre>
<pre>- --- ssl/s3_clnt.c     10 Oct 2010 12:33:10 -0000    1.129.2.16</pre>
<pre>+++ ssl/s3_clnt.c 24 Nov 2010 14:32:37 -0000</pre>
<pre>@@ -866,8 +866,11 @@</pre>
<pre>s-&gt;session-&gt;cipher_id = s-&gt;session-&gt;cipher-&gt;id;</pre>
<pre>if (s-&gt;hit &amp;&amp; (s-&gt;session-&gt;cipher_id != c-&gt;id))</pre>
<pre>{</pre>
<pre>+/* Workaround is now obsolete */</pre>
<pre>+#if 0</pre>
<pre>if (!(s-&gt;options &amp;</pre>
<pre>SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG))</pre>
<pre>+#endif</pre>
<pre>{</pre>
<pre>al=SSL_AD_ILLEGAL_PARAMETER;</pre>
<pre>SSLerr(SSL_F_SSL3_GET_SERVER_HELLO,SSL_R_OLD_SESSION_CIPHER_NOT_RETURNED);</pre>
<pre>Index: ssl/s3_srvr.c</pre>
<pre>===================================================================</pre>
<pre>RCS file: /v/openssl/cvs/openssl/ssl/s3_srvr.c,v</pre>
<pre>retrieving revision 1.171.2.22</pre>
<pre>diff -u -r1.171.2.22 s3_srvr.c</pre>
<pre>- --- ssl/s3_srvr.c     14 Nov 2010 13:50:29 -0000    1.171.2.22</pre>
<pre>+++ ssl/s3_srvr.c 24 Nov 2010 14:34:28 -0000</pre>
<pre>@@ -985,6 +985,10 @@</pre>
<pre>break;</pre>
<pre>}</pre>
<pre>}</pre>
<pre>+/* Disabled because it can be used in a ciphersuite downgrade</pre>
<pre>+ * attack: CVE-2010-4180.</pre>
<pre>+ */</pre>
<pre>+#if 0</pre>
<pre>if (j == 0 &amp;&amp; (s-&gt;options &amp; SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG) &amp;&amp; (sk_SSL_CIPHER_num(ciphers) == 1))</pre>
<pre>{</pre>
<pre>/* Special case as client bug workaround: the previously used cipher may</pre>
<pre>@@ -999,6 +1003,7 @@</pre>
<pre>j = 1;</pre>
<pre>}</pre>
<pre>}</pre>
<pre>+#endif</pre>
<pre>if (j == 0)</pre>
<pre>{</pre>
<pre>/* we need to have the cipher in the cipher</pre>
<pre></pre>
<pre></pre>
<pre></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2010/12/openssl-security-advisory-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSL 0.9.8q released</title>
		<link>http://www.marketgrid.com/blog/2010/12/openssl-0-9-8q-released/</link>
		<comments>http://www.marketgrid.com/blog/2010/12/openssl-0-9-8q-released/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 08:48:54 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[OpenSSL 0.9.8]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=440</guid>
		<description><![CDATA[The OpenSSL project team has announced the release of version 0.9.8q of the open source toolkit for SSL/TLS. This new OpenSSL version is a security and bugfix release. The most significant changes are: o Fix for security issue CVE-2010-4180 o Fix for CVE-2010-4252]]></description>
			<content:encoded><![CDATA[<p>The OpenSSL project team has announced the release of version 0.9.8q of the open source toolkit for SSL/TLS. This new OpenSSL version is a security and bugfix release.</p>
<p>The most significant changes are:</p>
<p>o Fix for security issue CVE-2010-4180</p>
<p>o Fix for CVE-2010-4252</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2010/12/openssl-0-9-8q-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSL version 1.0.0c</title>
		<link>http://www.marketgrid.com/blog/2010/12/openssl-version-1-0-0c/</link>
		<comments>http://www.marketgrid.com/blog/2010/12/openssl-version-1-0-0c/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 08:47:55 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[OpenSSL 1.0]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=438</guid>
		<description><![CDATA[The OpenSSL project team has announced the release of version 1.0.0c of the open source toolkit for SSL/TLS. This new OpenSSL version is a security and bugfix release. The most significant changes are: o Fix for security issue CVE-2010-4180 o Fix for CVE-2010-4252 o Fix mishandling of absent EC point format extension. o Fix various [...]]]></description>
			<content:encoded><![CDATA[<p>The OpenSSL project team has announced the release of version 1.0.0c of the open source toolkit for SSL/TLS. This new OpenSSL version is a security and bugfix release.</p>
<p>The most significant changes are:</p>
<p>o Fix for security issue CVE-2010-4180</p>
<p>o Fix for CVE-2010-4252</p>
<p>o Fix mishandling of absent EC point format extension.</p>
<p>o Fix various platform compilation issues.</p>
<p>o Corrected fix for security issue CVE-2010-3864.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2010/12/openssl-version-1-0-0c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSL Security Advisory</title>
		<link>http://www.marketgrid.com/blog/2010/11/openssl-security-advisory-2/</link>
		<comments>http://www.marketgrid.com/blog/2010/11/openssl-security-advisory-2/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 09:23:46 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Advisory]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=419</guid>
		<description><![CDATA[TLS extension parsing race condition. A flaw has been found in the OpenSSL TLS server extension code parsing which on affected servers can be exploited in a buffer overrun attack. The OpenSSL security team would like to thank Rob Hulswit for reporting this issue. The fix was developed by Dr Stephen Henson of the OpenSSL [...]]]></description>
			<content:encoded><![CDATA[<h2>TLS extension parsing race condition.</h2>
<p>A flaw has been found in the OpenSSL TLS server extension code parsing which on affected servers can be exploited in a buffer overrun attack.</p>
<p>The OpenSSL security team would like to thank Rob Hulswit for reporting this issue.</p>
<p>The fix was developed by Dr Stephen Henson of the OpenSSL core team.</p>
<p>This vulnerability is tracked as CVE-2010-3864</p>
<h2>Who is affected?</h2>
<p>All versions of OpenSSL supporting TLS extensions contain this vulnerability including OpenSSL 0.9.8f through 0.9.8o, 1.0.0, 1.0.0a releases.</p>
<p>Any OpenSSL based TLS server is vulnerable if it is multi-threaded and uses OpenSSL&#8217;s internal caching mechanism. Servers that are multi-process and/or disable internal session caching are NOT affected.</p>
<p>In particular the Apache HTTP server (which never uses OpenSSL internal caching) and Stunnel (which includes its own workaround) are NOT affected.</p>
<h2>Recommendations for users of OpenSSL</h2>
<p>Users of all OpenSSL 0.9.8 releases from 0.9.8f through 0.9.8o should update to the OpenSSL 0.9.8p release which contains a patch to correct this issue.</p>
<p>Users of OpenSSL 1.0.0 and 1.0.0a should update to the OpenSSL 1.0.0b release which contains a patch to correct this issue.</p>
<p>If upgrading is not immediately possible, the relevant source code patch provided in this advisory should be applied.</p>
<p>Patch for OpenSSL 0.9.8 releases</p>
<p>================================</p>
<p>Index: ssl/t1_lib.c</p>
<p>===================================================================</p>
<p>RCS file: /v/openssl/cvs/openssl/ssl/t1_lib.c,v</p>
<p>retrieving revision 1.13.2.27</p>
<p>diff -u -r1.13.2.27 t1_lib.c</p>
<p>- &#8212; ssl/t1_lib.c      12 Jun 2010 13:18:58 -0000    1.13.2.27</p>
<p>+++ ssl/t1_lib.c  15 Nov 2010 15:20:14 -0000</p>
<p>@@ -432,14 +432,23 @@</p>
<p>switch (servname_type)</p>
<p>{</p>
<p>case TLSEXT_NAMETYPE_host_name:</p>
<p>- -                           if (s-&gt;session-&gt;tlsext_hostname == NULL)</p>
<p>+                             if (!s-&gt;hit)</p>
<p>{</p>
<p>- -                                 if (len &gt; TLSEXT_MAXLEN_host_name ||</p>
<p>- -                                       ((s-&gt;session-&gt;tlsext_hostname = OPENSSL_malloc(len+1)) == NULL))</p>
<p>+                                   if(s-&gt;session-&gt;tlsext_hostname)</p>
<p>+                                         {</p>
<p>+                                         *al = SSL_AD_DECODE_ERROR;</p>
<p>+                                         return 0;</p>
<p>+                                         }</p>
<p>+                                   if (len &gt; TLSEXT_MAXLEN_host_name)</p>
<p>{</p>
<p>*al = TLS1_AD_UNRECOGNIZED_NAME;</p>
<p>return 0;</p>
<p>}</p>
<p>+                                   if ((s-&gt;session-&gt;tlsext_hostname = OPENSSL_malloc(len+1)) == NULL)</p>
<p>+                                         {</p>
<p>+                                         *al = TLS1_AD_INTERNAL_ERROR;</p>
<p>+                                         return 0;</p>
<p>+                                         }</p>
<p>memcpy(s-&gt;session-&gt;tlsext_hostname, sdata, len);</p>
<p>s-&gt;session-&gt;tlsext_hostname[len]=&#8217;\0&#8242;;</p>
<p>if (strlen(s-&gt;session-&gt;tlsext_hostname) != len) {</p>
<p>@@ -452,7 +461,8 @@</p>
<p>}</p>
<p>else</p>
<p>- -                                 s-&gt;servername_done = strlen(s-&gt;session-&gt;tlsext_hostname) == len</p>
<p>+                                   s-&gt;servername_done = s-&gt;session-&gt;tlsext_hostname</p>
<p>+                                         &amp;&amp; strlen(s-&gt;session-&gt;tlsext_hostname) == len</p>
<p>&amp;&amp; strncmp(s-&gt;session-&gt;tlsext_hostname, (char *)sdata, len) == 0;</p>
<p>break;</p>
<p>Patch for OpenSSL 1.0.0 releases</p>
<p>================================</p>
<p>Index: ssl/t1_lib.c</p>
<p>===================================================================</p>
<p>RCS file: /v/openssl/cvs/openssl/ssl/t1_lib.c,v</p>
<p>retrieving revision 1.64.2.14</p>
<p>diff -u -r1.64.2.14 t1_lib.c</p>
<p>- &#8212; ssl/t1_lib.c      15 Jun 2010 17:25:15 -0000    1.64.2.14</p>
<p>+++ ssl/t1_lib.c  15 Nov 2010 15:26:19 -0000</p>
<p>@@ -714,14 +714,23 @@</p>
<p>switch (servname_type)</p>
<p>{</p>
<p>case TLSEXT_NAMETYPE_host_name:</p>
<p>- -                           if (s-&gt;session-&gt;tlsext_hostname == NULL)</p>
<p>+                             if (!s-&gt;hit)</p>
<p>{</p>
<p>- -                                 if (len &gt; TLSEXT_MAXLEN_host_name ||</p>
<p>- -                                       ((s-&gt;session-&gt;tlsext_hostname = OPENSSL_malloc(len+1)) == NULL))</p>
<p>+                                   if(s-&gt;session-&gt;tlsext_hostname)</p>
<p>+                                         {</p>
<p>+                                         *al = SSL_AD_DECODE_ERROR;</p>
<p>+                                         return 0;</p>
<p>+                                         }</p>
<p>+                                   if (len &gt; TLSEXT_MAXLEN_host_name)</p>
<p>{</p>
<p>*al = TLS1_AD_UNRECOGNIZED_NAME;</p>
<p>return 0;</p>
<p>}</p>
<p>+                                   if ((s-&gt;session-&gt;tlsext_hostname = OPENSSL_malloc(len+1)) == NULL)</p>
<p>+                                         {</p>
<p>+                                         *al = TLS1_AD_INTERNAL_ERROR;</p>
<p>+                                         return 0;</p>
<p>+                                         }</p>
<p>memcpy(s-&gt;session-&gt;tlsext_hostname, sdata, len);</p>
<p>s-&gt;session-&gt;tlsext_hostname[len]=&#8217;\0&#8242;;</p>
<p>if (strlen(s-&gt;session-&gt;tlsext_hostname) != len) {</p>
<p>@@ -734,7 +743,8 @@</p>
<p>}</p>
<p>else</p>
<p>- -                                 s-&gt;servername_done = strlen(s-&gt;session-&gt;tlsext_hostname) == len</p>
<p>+                                   s-&gt;servername_done = s-&gt;session-&gt;tlsext_hostname</p>
<p>+                                         &amp;&amp; strlen(s-&gt;session-&gt;tlsext_hostname) == len</p>
<p>&amp;&amp; strncmp(s-&gt;session-&gt;tlsext_hostname, (char *)sdata, len) == 0;</p>
<p>break;</p>
<p>@@ -765,15 +775,22 @@</p>
<p>*al = TLS1_AD_DECODE_ERROR;</p>
<p>return 0;</p>
<p>}</p>
<p>- -               s-&gt;session-&gt;tlsext_ecpointformatlist_length = 0;</p>
<p>- -               if (s-&gt;session-&gt;tlsext_ecpointformatlist != NULL) OPENSSL_free(s-&gt;session-&gt;tlsext_ecpointformatlist);</p>
<p>- -               if ((s-&gt;session-&gt;tlsext_ecpointformatlist = OPENSSL_malloc(ecpointformatlist_length)) == NULL)</p>
<p>+                 if (!s-&gt;hit)</p>
<p>{</p>
<p>- -                     *al = TLS1_AD_INTERNAL_ERROR;</p>
<p>- -                     return 0;</p>
<p>+                       if(s-&gt;session-&gt;tlsext_ecpointformatlist)</p>
<p>+                             {</p>
<p>+                             *al = TLS1_AD_DECODE_ERROR;</p>
<p>+                             return 0;</p>
<p>+                             }</p>
<p>+                       s-&gt;session-&gt;tlsext_ecpointformatlist_length = 0;</p>
<p>+                       if ((s-&gt;session-&gt;tlsext_ecpointformatlist = OPENSSL_malloc(ecpointformatlist_length)) == NULL)</p>
<p>+                             {</p>
<p>+                             *al = TLS1_AD_INTERNAL_ERROR;</p>
<p>+                             return 0;</p>
<p>+                             }</p>
<p>+                       s-&gt;session-&gt;tlsext_ecpointformatlist_length = ecpointformatlist_length;</p>
<p>+                       memcpy(s-&gt;session-&gt;tlsext_ecpointformatlist, sdata, ecpointformatlist_length);</p>
<p>}</p>
<p>- -               s-&gt;session-&gt;tlsext_ecpointformatlist_length = ecpointformatlist_length;</p>
<p>- -               memcpy(s-&gt;session-&gt;tlsext_ecpointformatlist, sdata, ecpointformatlist_length);</p>
<p>#if 0</p>
<p>fprintf(stderr,&#8221;ssl_parse_clienthello_tlsext s-&gt;session-&gt;tlsext_ecpointformatlist (length=%i) &#8220;, s-&gt;session-&gt;tlsext_ecpointformatlist_length);</p>
<p>sdata = s-&gt;session-&gt;tlsext_ecpointformatlist;</p>
<p>@@ -794,15 +811,22 @@</p>
<p>*al = TLS1_AD_DECODE_ERROR;</p>
<p>return 0;</p>
<p>}</p>
<p>- -               s-&gt;session-&gt;tlsext_ellipticcurvelist_length = 0;</p>
<p>- -               if (s-&gt;session-&gt;tlsext_ellipticcurvelist != NULL) OPENSSL_free(s-&gt;session-&gt;tlsext_ellipticcurvelist);</p>
<p>- -               if ((s-&gt;session-&gt;tlsext_ellipticcurvelist = OPENSSL_malloc(ellipticcurvelist_length)) == NULL)</p>
<p>+                 if (!s-&gt;hit)</p>
<p>{</p>
<p>- -                     *al = TLS1_AD_INTERNAL_ERROR;</p>
<p>- -                     return 0;</p>
<p>+                       if(s-&gt;session-&gt;tlsext_ellipticcurvelist)</p>
<p>+                             {</p>
<p>+                             *al = TLS1_AD_DECODE_ERROR;</p>
<p>+                             return 0;</p>
<p>+                             }</p>
<p>+                       s-&gt;session-&gt;tlsext_ellipticcurvelist_length = 0;</p>
<p>+                       if ((s-&gt;session-&gt;tlsext_ellipticcurvelist = OPENSSL_malloc(ellipticcurvelist_length)) == NULL)</p>
<p>+                             {</p>
<p>+                             *al = TLS1_AD_INTERNAL_ERROR;</p>
<p>+                             return 0;</p>
<p>+                             }</p>
<p>+                       s-&gt;session-&gt;tlsext_ellipticcurvelist_length = ellipticcurvelist_length;</p>
<p>+                       memcpy(s-&gt;session-&gt;tlsext_ellipticcurvelist, sdata, ellipticcurvelist_length);</p>
<p>}</p>
<p>- -               s-&gt;session-&gt;tlsext_ellipticcurvelist_length = ellipticcurvelist_length;</p>
<p>- -               memcpy(s-&gt;session-&gt;tlsext_ellipticcurvelist, sdata, ellipticcurvelist_length);</p>
<p>#if 0</p>
<p>fprintf(stderr,&#8221;ssl_parse_clienthello_tlsext s-&gt;session-&gt;tlsext_ellipticcurvelist (length=%i) &#8220;, s-&gt;session-&gt;tlsext_ellipticcurvelist_length);</p>
<p>sdata = s-&gt;session-&gt;tlsext_ellipticcurvelist;</p>
<h2>References</h2>
<p>URL for this Security Advisory: <a href="http://www.openssl.org/news/secadv_20101116.txt">http://www.openssl.org/news/secadv_20101116.txt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2010/11/openssl-security-advisory-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSL 1.0.0b</title>
		<link>http://www.marketgrid.com/blog/2010/11/openssl-1-0-0b/</link>
		<comments>http://www.marketgrid.com/blog/2010/11/openssl-1-0-0b/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 09:21:24 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[OpenSSL 1.0]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=416</guid>
		<description><![CDATA[The OpenSSL project team has announced the release of version 1.0.0b of the open source toolkit for SSL/TLS. This new OpenSSL version is a security and bugfix release which addresses CVE-2010-3864. For a complete list of changes, please see http://www.openssl.org/source/exp/CHANGES.]]></description>
			<content:encoded><![CDATA[<p>The OpenSSL project team has announced the release of version 1.0.0b of the open source toolkit for SSL/TLS.</p>
<p>This new OpenSSL version is a security and bugfix release which addresses CVE-2010-3864.</p>
<p>For a complete list of changes, please see <a href="http://www.openssl.org/source/exp/CHANGES">http://www.openssl.org/source/exp/CHANGES</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2010/11/openssl-1-0-0b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSL 0.9.8p</title>
		<link>http://www.marketgrid.com/blog/2010/11/openssl-0-9-8p/</link>
		<comments>http://www.marketgrid.com/blog/2010/11/openssl-0-9-8p/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 09:20:25 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[OpenSSL 0.9.8]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=414</guid>
		<description><![CDATA[The OpenSSL project team has announced the release of version 0.9.8p of the open source toolkit for SSL/TLS. This new OpenSSL version is a security and bugfix release which addresses CVE-2010-3864. For a complete list of changes, please see http://www.openssl.org/source/exp/CHANGES.]]></description>
			<content:encoded><![CDATA[<p>The OpenSSL project team has announced the release of version 0.9.8p of the open source toolkit for SSL/TLS.</p>
<p>This new OpenSSL version is a security and bugfix release which addresses CVE-2010-3864.</p>
<p>For a complete list of changes, please see <a href="http://www.openssl.org/source/exp/CHANGES">http://www.openssl.org/source/exp/CHANGES</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2010/11/openssl-0-9-8p/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSL version 1.0.0a</title>
		<link>http://www.marketgrid.com/blog/2010/06/openssl-version-1-0-0a/</link>
		<comments>http://www.marketgrid.com/blog/2010/06/openssl-version-1-0-0a/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 15:24:16 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=195</guid>
		<description><![CDATA[The OpenSSL project team has released version 1.0.0a of the open source toolkit for SSL/TLS. This new OpenSSL version is a security and bugfix release which addresses CVE-2010-1633 and CVE-2010-0742. For a complete list of changes, please see http://www.openssl.org/source/exp/CHANGES. OpenSSL 1.0.0a is considered to be the best version of OpenSSL available and we strongly recommend [...]]]></description>
			<content:encoded><![CDATA[<p>The OpenSSL project team has released version 1.0.0a of the open source toolkit for SSL/TLS. This new OpenSSL version is a security and bugfix release which addresses CVE-2010-1633 and CVE-2010-0742. For a complete list of changes, please see <a href="http://www.openssl.org/source/exp/CHANGES">http://www.openssl.org/source/exp/CHANGES</a>.</p>
<p>OpenSSL 1.0.0a is considered to be the best version of OpenSSL available and we strongly recommend that users of older versions upgrade as soon as possible. OpenSSL 1.0.0a is available for</p>
<p>download via HTTP and FTP from the following master locations (you can find the various FTP mirrors under <a href="http://www.openssl.org/source/mirror.html">http://www.openssl.org/source/mirror.html</a>):</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2010/06/openssl-version-1-0-0a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

