summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2017-12-13 14:44:44 +0000
committerSteve Wills <swills@FreeBSD.org>2017-12-13 14:44:44 +0000
commita1799de23c2c4a60e6720004675abea4c3b2677e (patch)
treef06a894e0738f0c35aba13a12a5c6f4084c8d32f /security
parentnet/radiator: update 4.17 -> 4.19 (diff)
Document libxml2 issue
Notes
Notes: svn path=/head/; revision=456209
Diffstat (limited to 'security')
-rw-r--r--security/vuxml/vuln.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/security/vuxml/vuln.xml b/security/vuxml/vuln.xml
index 75d393345f14..8a38e4fc8efb 100644
--- a/security/vuxml/vuln.xml
+++ b/security/vuxml/vuln.xml
@@ -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>