Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2017 14:44:44 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456209 - head/security/vuxml
Message-ID:  <201712131444.vBDEiiqn009788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Dec 13 14:44:44 2017
New Revision: 456209
URL: https://svnweb.freebsd.org/changeset/ports/456209

Log:
  Document libxml2 issue

Modified:
  head/security/vuxml/vuln.xml

Modified: head/security/vuxml/vuln.xml
==============================================================================
--- head/security/vuxml/vuln.xml	Wed Dec 13 14:42:29 2017	(r456208)
+++ head/security/vuxml/vuln.xml	Wed Dec 13 14:44:44 2017	(r456209)
@@ -58,6 +58,46 @@ Notes:
   * Do not forget port variants (linux-f10-libxml2, libxml2, etc.)
 -->
 <vuxml xmlns="http://www.vuxml.org/apps/vuxml-1">;
+  <vuln vid="76e59f55-4f7a-4887-bcb0-11604004163a">
+    <topic>libxml2 -- Multiple Issues</topic>
+    <affects>
+      <package>
+	<name>libxml2</name>
+	<range><le>2.9.4</le></range>
+      </package>
+    </affects>
+    <description>
+      <body xmlns="http://www.w3.org/1999/xhtml">;
+	<p>libxml2 developers report:</p>
+	<p>The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 allows attackers to cause a denial of service (buffer over-read) or information disclosure.</p>
+	<p>A buffer overflow was discovered in libxml2 20904-GITv2.9.4-16-g0741801. The function xmlSnprintfElementContent in valid.c is supposed to recursively dump the element content definition into a char buffer 'buf' of size 'size'. The variable len is assigned strlen(buf). If the content-&gt;type is XML_ELEMENT_CONTENT_ELEMENT, then (i) the content-&gt;prefix is appended to buf (if it actually fits) whereupon (ii) content-&gt;name is written to the buffer. However, the check for whether the content-&gt;name actually fits also uses 'len' rather than the updated buffer length strlen(buf). This allows us to write about "size" many bytes beyond the allocated memory. This vulnerability causes programs that use libxml2, such as PHP, to crash.</p>
+	<p>libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a stack-based buffer overflow. The function xmlSnprintfElementContent in valid.c is supposed to recursively dump the element content definition into a char buffer 'buf' of size 'size'. At the end of the routine, the function may strcat two more characters without checking whether the current strlen(buf) + 2 &lt; size. This vulnerability causes programs that use libxml2, such as PHP, to crash.</p>
+	<p>libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictComputeFastKey function in dict.c. This vulnerability causes programs that use libxml2, such as PHP, to crash. This vulnerability exists because of an incomplete fix for libxml2 Bug 759398.</p>
+	<p>libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictAddString function in dict.c. This vulnerability causes programs that use libxml2, such as PHP, to crash. This vulnerability exists because of an incomplete fix for CVE-2016-1839.</p>
+      </body>
+    </description>
+    <references>
+      <url>https://bugzilla.gnome.org/show_bug.cgi?id=775200</url>;
+      <url>http://www.openwall.com/lists/oss-security/2017/05/15/1</url>;
+      <url>http://www.securityfocus.com/bid/98599</url>;
+      <url>http://www.openwall.com/lists/oss-security/2017/05/15/1</url>;
+      <url>http://www.securityfocus.com/bid/98556</url>;
+      <url>http://www.openwall.com/lists/oss-security/2017/05/15/1</url>;
+      <url>http://www.securityfocus.com/bid/98601</url>;
+      <url>http://www.openwall.com/lists/oss-security/2017/05/15/1</url>;
+      <url>http://www.securityfocus.com/bid/98568</url>;
+      <cvename>CVE-2017-8872</cvename>
+      <cvename>CVE-2017-9047</cvename>
+      <cvename>CVE-2017-9048</cvename>
+      <cvename>CVE-2017-9049</cvename>
+      <cvename>CVE-2017-9050</cvename>
+    </references>
+    <dates>
+      <discovery>2017-05-10</discovery>
+      <entry>2017-12-13</entry>
+    </dates>
+  </vuln>
+
   <vuln vid="9f7a0f39-ddc0-11e7-b5af-a4badb2f4699">
     <topic>FreeBSD -- OpenSSL multiple vulnerabilities</topic>
     <affects>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712131444.vBDEiiqn009788>