Received: from eggs.gnu.org ([2001:4830:134:3::10]:55863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXUT3-0000fJ-1X for qemu-devel@nongnu.org; Thu, 13 Dec 2018 12:08:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXUSz-0003NJ-Tj for qemu-devel@nongnu.org; Thu, 13 Dec 2018 12:08:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50372) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gXUSz-0003Lj-LM for qemu-devel@nongnu.org; Thu, 13 Dec 2018 12:08:05 -0500 Date: Thu, 13 Dec 2018 22:37:55 +0530 (IST) From: P J P In-Reply-To: <877egda8i3.fsf@dusky.pond.sub.org> Message-ID: References: <20181213122511.13853-1-kraxel@redhat.com> <877egda8i3.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH] usb-mtp: use O_NOFOLLOW and O_CLOEXEC. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org, Markus Armbruster , Bandan Das , public@hansmi.ch Hello Gerd, +-- On Thu, 13 Dec 2018, Markus Armbruster wrote --+ | Gerd Hoffmann writes: | > Open files and directories with O_NOFOLLOW to avoid symlinks attacks. | > While being at it also add O_CLOEXEC. | > | > usb-mtp only handles regular files and directories and ignores | > everything else, so users should not see a difference. | > | > Because qemu ignores symlinks carrying out an successfull symlink attack symlinks, carrying out a successful ... | > requires swapping an existing file or directory below rootdir for a | > symlink and winning the race against the inotify notification to qemu. | > | > Note that the impact of this bug is rather low when qemu is managed by | > libvirt due to qemu running sandboxed, so there isn't much you can gain | > access to that way. | > | > Fixes: CVE-2018-pjp-please-get-one | | Ah, looks like we've run out of numbers. Heh..:) It's CVE-2018-16872. Thank you so much for the fix patch. Thank you. -- Prasad J Pandit / Red Hat Product Security Team 47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F