aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2010-06-28 05:14:28 +0800
committerrene <rene@FreeBSD.org>2010-06-28 05:14:28 +0800
commit57f1497f4aa70dc65f5a32fb575ffe039fcbd03b (patch)
tree221565e0a265fddb0e84c829c6b0e0475b8a1c18 /security
parentfcb06459f33f5a7a3a15399a8efde69cf2c6b830 (diff)
downloadfreebsd-ports-gnome-57f1497f4aa70dc65f5a32fb575ffe039fcbd03b.tar.gz
freebsd-ports-gnome-57f1497f4aa70dc65f5a32fb575ffe039fcbd03b.tar.zst
freebsd-ports-gnome-57f1497f4aa70dc65f5a32fb575ffe039fcbd03b.zip
Document mDNSResponder -- corrupted stack crash when parsing bad resolv.conf
This only happens on a system where one has a system where resolv.conf is writable by an untrusted user or where mdnsd is setuid and can be tricked into opening an alternate resolv.conf. PR: ports/147007 Submitted by: jmallett@ Approved by: tabthorpe (mentor) Feature safe: yes
Diffstat (limited to 'security')
-rw-r--r--security/vuxml/vuln.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/security/vuxml/vuln.xml b/security/vuxml/vuln.xml
index a67d6016e3f0..d1fd7cf420ac 100644
--- a/security/vuxml/vuln.xml
+++ b/security/vuxml/vuln.xml
@@ -34,6 +34,37 @@ Note: Please add new entries to the beginning of this file.
-->
<vuxml xmlns="http://www.vuxml.org/apps/vuxml-1">
+ <vuln vid="1cd87e2a-81e3-11df-81d8-00262d5ed8ee">
+ <topic>mDNSResponder -- corrupted stack crash when parsing bad resolv.conf</topic>
+ <affects>
+ <package>
+ <name>mDNSResponder</name>
+ <range><le>214</le></range>
+ </package>
+ </affects>
+ <description>
+ <body xmlns="http://www.w3.org/1999/xhtml">
+ <p>Juli Mallett reports:</p>
+ <blockquote
+ cite="http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147007">
+ <p>mdnsd will crash on some systems with a corrupt stack and once
+ that's fixed it will still leak a file descriptor when parsing
+ resolv.conf. The crash is because scanf is used with %10s for a
+ buffer that is only 10 chars long. The buffer size needs increased
+ to 11 chars to hold the trailing NUL. To fix the leak, an fclose
+ needs added.</p>
+ </blockquote>
+ </body>
+ </description>
+ <references>
+ <freebsdpr>ports/147007</freebsdpr>
+ </references>
+ <dates>
+ <discovery>2010-05-26</discovery>
+ <entry>2010-06-27</entry>
+ </dates>
+ </vuln>
+
<vuln vid="77b9f9bc-7fdf-11df-8a8d-0008743bf21a">
<topic>opera -- Data URIs can be used to allow cross-site scripting</topic>
<affects>