svn commit: r541835 - head/security/vuxml
Philip Paeps
philip at FreeBSD.org
Fri Jul 10 05:30:13 UTC 2020
Author: philip
Date: Fri Jul 10 05:30:12 2020
New Revision: 541835
URL: https://svnweb.freebsd.org/changeset/ports/541835
Log:
security/vuxml: add FreeBSD SA-20:18.posix_spawnp
Modified:
head/security/vuxml/vuln.xml
Modified: head/security/vuxml/vuln.xml
==============================================================================
--- head/security/vuxml/vuln.xml Fri Jul 10 03:11:47 2020 (r541834)
+++ head/security/vuxml/vuln.xml Fri Jul 10 05:30:12 2020 (r541835)
@@ -58,6 +58,38 @@ Notes:
* Do not forget port variants (linux-f10-libxml2, libxml2, etc.)
-->
<vuxml xmlns="http://www.vuxml.org/apps/vuxml-1">
+ <vuln vid="f8b46415-c264-11ea-8659-901b0ef719ab">
+ <topic>FreeBSD -- posix_spawnp(3) buffer overflow</topic>
+ <affects>
+ <package>
+ <name>FreeBSD</name>
+ <range><ge>11.4</ge><lt>11.4_1</lt></range>
+ </package>
+ </affects>
+ <description>
+ <body xmlns="http://www.w3.org/1999/xhtml">
+ <h1>Problem Description:</h1>
+ <p>posix_spawnp spawns a new thread with a limited stack allocated on the heap
+ before delegating to execvp for the final execution within that thread.</p>
+ <p>execvp would previously make unbounded allocations on the stack, directly
+ proportional to the length of the user-controlled PATH environment variable.</p>
+ <h1>Impact:</h1>
+ <p>Long values in the user-controlled PATH environment variable cause
+ posix_spawnp to write beyond the end of stack that was allocated, ultimately
+ overflowing the heap-allocated stack with a direct copy of the value stored
+ in PATH.</p>
+ </body>
+ </description>
+ <references>
+ <cvename>CVE-2020-7458</cvename>
+ <freebsdsa>SA-20:18.posix_spawnp</freebsdsa>
+ </references>
+ <dates>
+ <discovery>2020-07-09</discovery>
+ <entry>2020-07-10</entry>
+ </dates>
+ </vuln>
+
<vuln vid="198a120d-c22d-11ea-9172-4c72b94353b5">
<topic>mybb -- multible vulnerabilities</topic>
<affects>
More information about the svn-ports-all
mailing list