From owner-svn-ports-all@freebsd.org Fri Jul 10 05:30:13 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 24F6535F3C4; Fri, 10 Jul 2020 05:30:13 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B31pF0DT8z477c; Fri, 10 Jul 2020 05:30:13 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E060A1CED8; Fri, 10 Jul 2020 05:30:12 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06A5UCuh065254; Fri, 10 Jul 2020 05:30:12 GMT (envelope-from philip@FreeBSD.org) Received: (from philip@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06A5UCaL065253; Fri, 10 Jul 2020 05:30:12 GMT (envelope-from philip@FreeBSD.org) Message-Id: <202007100530.06A5UCaL065253@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: philip set sender to philip@FreeBSD.org using -f From: Philip Paeps Date: Fri, 10 Jul 2020 05:30:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r541835 - head/security/vuxml X-SVN-Group: ports-head X-SVN-Commit-Author: philip X-SVN-Commit-Paths: head/security/vuxml X-SVN-Commit-Revision: 541835 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2020 05:30:13 -0000 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.) --> + + FreeBSD -- posix_spawnp(3) buffer overflow + + + FreeBSD + 11.411.4_1 + + + + +

Problem Description:

+

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.

+

execvp would previously make unbounded allocations on the stack, directly + proportional to the length of the user-controlled PATH environment variable.

+

Impact:

+

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.

+ +
+ + CVE-2020-7458 + SA-20:18.posix_spawnp + + + 2020-07-09 + 2020-07-10 + +
+ mybb -- multible vulnerabilities