From owner-svn-ports-head@FreeBSD.ORG Sun Jun 23 20:14:02 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 45FA04AE; Sun, 23 Jun 2013 20:14:02 +0000 (UTC) (envelope-from rea@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 279A11BA1; Sun, 23 Jun 2013 20:14:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5NKE20j064191; Sun, 23 Jun 2013 20:14:02 GMT (envelope-from rea@svn.freebsd.org) Received: (from rea@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5NKE15I064190; Sun, 23 Jun 2013 20:14:01 GMT (envelope-from rea@svn.freebsd.org) Message-Id: <201306232014.r5NKE15I064190@svn.freebsd.org> From: Eygene Ryabinkin Date: Sun, 23 Jun 2013 20:14:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321649 - head/security/vuxml X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jun 2013 20:14:02 -0000 Author: rea Date: Sun Jun 23 20:14:01 2013 New Revision: 321649 URL: http://svnweb.freebsd.org/changeset/ports/321649 Log: VuXML: document CVE-2013-2174, heap corruption in cURL library Modified: head/security/vuxml/vuln.xml Modified: head/security/vuxml/vuln.xml ============================================================================== --- head/security/vuxml/vuln.xml Sun Jun 23 19:55:13 2013 (r321648) +++ head/security/vuxml/vuln.xml Sun Jun 23 20:14:01 2013 (r321649) @@ -51,6 +51,62 @@ Note: Please add new entries to the beg --> + + cURL library -- heap corruption in curl_easy_unescape + + + curl + 7.77.31.0 + + + + +

cURL developers report:

+
+

libcurl is vulnerable to a case of bad checking of the + input data which may lead to heap corruption.

+

The function curl_easy_unescape() decodes URL-encoded + strings to raw binary data. URL-encoded octets are + represented with %HH combinations where HH is a two-digit + hexadecimal number. The decoded string is written to an + allocated memory area that the function returns to the + caller.

+

The function takes a source string and a length + parameter, and if the length provided is 0 the function will + instead use strlen() to figure out how much data to + parse.

+

The "%HH" parser wrongly only considered the case where a + zero byte would terminate the input. If a length-limited + buffer was passed in which ended with a '%' character which + was followed by two hexadecimal digits outside of the buffer + libcurl was allowed to parse alas without a terminating + zero, libcurl would still parse that sequence as well. The + counter for remaining data to handle would then be decreased + too much and wrap to become a very large integer and the + copying would go on too long and the destination buffer that + is allocated on the heap would get overwritten.

+

We consider it unlikely that programs allow user-provided + strings unfiltered into this function. Also, only the not + zero-terminated input string use case is affected by this + flaw. Exploiting this flaw for gain is probably possible for + specific circumstances but we consider the general risk for + this to be low.

+

The curl command line tool is not affected by this + problem as it doesn't use this function.

+

There are no known exploits available at this time.

+
+ +
+ + CVE-2013-2174 + http://curl.haxx.se/docs/adv_20130622.html + + + 2013-06-22 + 2013-06-23 + +
+ puppet -- Unauthenticated Remote Code Execution Vulnerability