Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605560 (CVE-2016-7406, CVE-2016-7407, CVE-2016-7408, CVE-2016-7409) - <net-misc/dropbear-2016.74: multiple vulnerabilities
Summary: <net-misc/dropbear-2016.74: multiple vulnerabilities
Alias: CVE-2016-7406, CVE-2016-7407, CVE-2016-7408, CVE-2016-7409
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Security
Whiteboard: A2 [glsa cve]
Depends on:
Reported: 2017-01-13 09:51 UTC by Tim
Modified: 2017-07-16 00:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---
stable-bot: sanity-check+


Note You need to log in before you can comment on or make changes to this bug.
Description Tim 2017-01-13 09:51:26 UTC
net-misc/dropbear 2016.73 is marked as stable across all arches and has known vulnerabilities since 21st july 2016 according to - 2016.74 is available in the gentoo repository marked as unstable and fixes these vulnerabilities.

Using the bugzilla I cannot seem to find any bugs open nor closed for dropbear that say that you know about this problem nor that there are any reasons for not releasing the newest version of dropbear as stable.

Reproducible: Always

Steps to Reproduce:
1. Displays 2016.73 is stable and 2016.74 is unstable
2. shows 2016.73 has multiple vulnerabilities that were fixed in 2016.74 since 21st july 2016.
Actual Results:  
2016.74 of dropbear has yet to be released to stable despite known vulnerabilities in 2016.73 from six months ago.

Expected Results:  
a GLSA announcing the vulnerabilities in 2016.73 of dropbear and 2016.74 being pushed to stable to correct them.

As it's possible for arbitrary code to be executed as root by a connecting user with an unusual username, I think it's very important to get this fix pushed to stable and am marking the severity appropriately. If I am wrong, please correct.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2017-01-13 12:53:58 UTC
Thank you for the report!

From $URL:

2016.74 - 21 July 2016

- Security: Message printout was vulnerable to format string injection.

  If specific usernames including "%" symbols can be created on a system
  (validated by getpwnam()) then an attacker could run arbitrary code as root
  when connecting to Dropbear server.

  A dbclient user who can control username or host arguments could potentially
  run arbitrary code as the dbclient user. This could be a problem if scripts
  or webpages pass untrusted input to the dbclient program.

- Security: dropbearconvert import of OpenSSH keys could run arbitrary code as
  the local dropbearconvert user when parsing malicious key files

- Security: dbclient could run arbitrary code as the local dbclient user if
  particular -m or -c arguments are provided. This could be an issue where
  dbclient is used in scripts.

- Security: dbclient or dropbear server could expose process memory to the
  running user if compiled with DEBUG_TRACE and running with -v

  The security issues were reported by an anonymous researcher working with
  Beyond Security's SecuriTeam Secure Disclosure

- Fix port forwarding failure when connecting to domains that have both
  IPv4 and IPv6 addresses. The bug was introduced in 2015.68

- Fix 100% CPU use while waiting for rekey to complete. Thanks to Zhang Hui P
  for the patch

@ Maintainers(s): Can we start stabilization of =net-misc/dropbear-2016.74
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2017-01-21 12:12:24 UTC
@ Arches,

please test and mark stable: =net-misc/dropbear-2016.74
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2017-01-21 13:07:00 UTC
Stable for HPPA PPC64.
Comment 4 Agostino Sarubbo gentoo-dev 2017-01-21 17:16:56 UTC
amd64 stable
Comment 5 Agostino Sarubbo gentoo-dev 2017-01-21 17:27:43 UTC
x86 stable
Comment 6 Agostino Sarubbo gentoo-dev 2017-01-21 20:34:23 UTC
ppc stable
Comment 7 Agostino Sarubbo gentoo-dev 2017-01-22 16:30:05 UTC
sparc stable
Comment 8 Agostino Sarubbo gentoo-dev 2017-01-23 16:28:41 UTC
ia64 stable
Comment 9 Tobias Klausmann (RETIRED) gentoo-dev 2017-01-23 18:27:45 UTC
Stable on alpha.
Comment 10 Markus Meier gentoo-dev 2017-02-05 17:01:53 UTC
arm stable, all arches done.
Comment 11 Aaron Bauman (RETIRED) gentoo-dev 2017-02-05 22:53:56 UTC
GLSA request filed
Comment 12 Thomas Deutschmann (RETIRED) gentoo-dev 2017-02-17 09:20:52 UTC
@ Maintainer(s): Please cleanup and drop =net-misc/dropbear-2016.73!
Comment 13 GLSAMaker/CVETool Bot gentoo-dev 2017-02-21 00:00:32 UTC
This issue was resolved and addressed in
 GLSA 201702-23 at
by GLSA coordinator Thomas Deutschmann (whissi).
Comment 14 Thomas Deutschmann (RETIRED) gentoo-dev 2017-02-21 00:01:23 UTC
Re-opening for cleanup.

@ Maintainer(s): Please cleanup and drop =net-misc/dropbear-2016.73!