From owner-freebsd-ports-bugs@freebsd.org Tue Jun 20 10:57:30 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78824D95643 for ; Tue, 20 Jun 2017 10:57:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E6177CDC0 for ; Tue, 20 Jun 2017 10:57:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5KAvTJQ035325 for ; Tue, 20 Jun 2017 10:57:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 220158] security/dropbear: update to 2017.75 Date: Tue, 20 Jun 2017 10:57:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@anongoth.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2017 10:57:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220158 Bug ID: 220158 Summary: security/dropbear: update to 2017.75 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: pkubaj@anongoth.pl Created attachment 183650 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183650&action= =3Dedit patch This patch updates the port to 2017.75, fixing CVE-2017-9078 and CVE-2017-9= 079. Changelog: - Security: Fix double-free in server TCP listener cleanup A double-free in= the server could be triggered by an authenticated user if dropbear is running w= ith -a (Allow connections to forwarded ports from any host) This could potentia= lly allow arbitrary code execution as root by an authenticated user. Affects versions 2013.56 to 2016.74. Thanks to Mark Shepard for reporting the crash. CVE-2017-9078 https://secure.ucc.asn.au/hg/dropbear/rev/c8114a48837c - Security: Fix information disclosure with ~/.ssh/authorized_keys symlink. Dropbear parsed authorized_keys as root, even if it were a symlink. The fix= is to switch to user permissions when opening authorized_keys A user could sym= link their ~/.ssh/authorized_keys to a root-owned file they couldn't normally re= ad. If they managed to get that file to contain valid authorized_keys with comm= and=3D options it might be possible to read other contents of that file. This information disclosure is to an already authenticated user. Thanks to Jann = Horn of Google Project Zero for reporting this. CVE-2017-9079 https://secure.ucc.asn.au/hg/dropbear/rev/0d889b068123 - Generate hostkeys with dropbearkey atomically and flush to disk with fsync Thanks to Andrei Gherzan for a patch - Fix out of tree builds with bundled libtom Thanks to Henrik Nordstr=C3=83= =C2=B6m and Peter Krefting for patches. This patch also adds many options for granular choosing ciphers. I tried to make the defaults secure. Builds on Poudriere with 10.3-RELEASE using many variations of options. --=20 You are receiving this mail because: You are the assignee for the bug.=