--- - branch: MAIN date: Tue May 16 21:54:21 UTC 2017 files: - new: '1.32' old: '1.31' path: pkgsrc/security/dropbear/Makefile pathrev: pkgsrc/security/dropbear/Makefile@1.32 type: modified - new: '1.24' old: '1.23' path: pkgsrc/security/dropbear/distinfo pathrev: pkgsrc/security/dropbear/distinfo@1.24 type: modified - new: '1.11' old: '1.10' path: pkgsrc/security/dropbear/patches/patch-aa pathrev: pkgsrc/security/dropbear/patches/patch-aa@1.11 type: modified - new: '1.9' old: '1.8' path: pkgsrc/security/dropbear/patches/patch-ab pathrev: pkgsrc/security/dropbear/patches/patch-ab@1.9 type: modified - new: '1.1' old: '0' path: pkgsrc/security/dropbear/patches/patch-configure pathrev: pkgsrc/security/dropbear/patches/patch-configure@1.1 type: added id: 20170516T215421Z.080ac4dc5487e6453fd2ec40fe3139c6044a86fb log: "update dropbear to 2016.74. changes:\n\n2016.74 - 21 July 2016\n\n- Security: Message printout was vulnerable to format string injection.\n\n If specific usernames including \"%\" symbols can be created on a system\n (validated by getpwnam()) then an attacker could run arbitrary code as root\n when connecting to Dropbear server.\n\n A dbclient user who can control username or host arguments could potentially\n run arbitrary code as the dbclient user. This could be a problem if scripts\n or webpages pass untrusted input to the dbclient program.\n CVE-2016-7406\n \ https://secure.ucc.asn.au/hg/dropbear/rev/b66a483f3dcb\n\n- Security: dropbearconvert import of OpenSSH keys could run arbitrary code as\n the local dropbearconvert user when parsing malicious key files\n CVE-2016-7407\n https://secure.ucc.asn.au/hg/dropbear/rev/34e6127ef02e\n\n- Security: dbclient could run arbitrary code as the local dbclient user if\n particular -m or -c arguments are provided. This could be an issue where\n dbclient is used in scripts.\n CVE-2016-7408\n https://secure.ucc.asn.au/hg/dropbear/rev/eed9376a4ad6\n\n- Security: dbclient or dropbear server could expose process memory to the\n running user if compiled with DEBUG_TRACE and running with -v\n CVE-2016-7409\n https://secure.ucc.asn.au/hg/dropbear/rev/6a14b1f6dc04\n\n \ The security issues were reported by an anonymous researcher working with\n \ Beyond Security's SecuriTeam Secure Disclosure www.beyondsecurity.com/ssd.html\n\n- Fix port forwarding failure when connecting to domains that have both\n IPv4 and IPv6 addresses. The bug was introduced in 2015.68\n\n- Fix 100% CPU use while waiting for rekey to complete. Thanks to Zhang Hui P\n for the patch\n\n2016.73 - 18 March 2016\n\n- Support syslog in dbclient, option -o usesyslog=yes. Patch from Konstantin Tokarev\n\n- Kill a proxycommand when dbclient exits, patch from Konstantin Tokarev\n\n- Option to exit when a TCP forward fails, patch from Konstantin Tokarev\n\n- New \"-o\" option parsing from Konstantin Tokarev. This allows handling some extra options\n in the style of OpenSSH, though implementing all OpenSSH options is not planned.\n\n- Fix crash when fallback initshells() is used, reported by Michael Nowak and Mike Tzou\n\n- Allow specifying commands eg \"dropbearmulti dbclient ...\" instead of symlinks\n\n- Various cleanups for issues found by a lint tool, patch from Francois Perrad\n\n- Fix tab indent consistency, patch from Francois Perrad\n\n- Fix issues found by cppcheck, reported by Mike Tzou\n\n- Use system memset_s() or explicit_bzero() if available to clear memory. Also make\n \ libtomcrypt/libtommath routines use that (or Dropbear's own m_burn()).\n\n- Prevent scp failing when the local user doesn't exist. Based on patch from Michael Witten.\n\n- Improved Travis CI test running, thanks to Mike Tzou\n\n- Improve some code that was flagged by Coverity and Fortify Static Code Analyzer\n\n2016.72 - 9 March 2016\n\n- Validate X11 forwarding input. Could allow bypass of authorized_keys command= restrictions,\n found by github.com/tintinweb. Thanks for Damien Miller for a patch. CVE-2016-3116\n https://secure.ucc.asn.au/hg/dropbear/rev/a3e8389e01ff\n\n2015.71 - 3 December 2015\n\n- Fix \"bad buf_incrpos\" when data is transferred, broke in 2015.69\n\n- Fix crash on exit when -p address:port is used, broke in 2015.68, thanks to\n Frank Stollenwerk for reporting and investigation\n\n- Fix building with only ENABLE_CLI_REMOTETCPFWD given, patch from Konstantin Tokarev\n\n- Fix bad configure script test which didn't work with dash shell, patch from Juergen Daubert,\n broke in 2015.70\n\n- Fix server race condition that could cause sessions to hang on exit,\n https://github.com/robotframework/SSHLibrary/issues/128\n\n2015.70 - 26 November 2015\n\n- Fix server password authentication on Linux, broke in 2015.69\n\n2015.69 - 25 November 2015\n\n- Fix crash when forwarded TCP connections fail to connect (bug introduced in 2015.68)\n\n- Avoid hang on session close when multiple sessions are started, affects Qt Creator\n Patch from Andrzej Szombierski\n\n- Reduce per-channel memory consumption in common case, increase default\n channel limit from 100 to 1000 which should improve SOCKS forwarding for modern\n webpages\n\n- Handle multiple command line arguments in a single flag, thanks to Guilhem Moulin\n\n- Manpage improvements from Guilhem Moulin\n\n- Build fixes for Android from Mike Frysinger\n\n- Don't display the MOTD when an explicit command is run from Guilhem Moulin\n\n- Check curve25519 shared secret isn't zero\n\n2015.68 - Saturday 8 August 2015\n\n- Reduce local data copying for improved efficiency. Measured 30%\n \ increase in throughput for connections to localhost\n\n- Forwarded TCP ports connect asynchronously and try all available addresses\n (IPv4, IPv6, round robin DNS)\n\n- Fix all compile warnings, many patches from Ga谷l Portay\n Note that configure with -Werror may not be successful on some platforms (OS X)\n and some configuration options may still result in unused variable\n warnings.\n\n- Use TCP Fast Open on Linux if available. Saves a round trip at connection\n to hosts that have previously been connected.\n Needs a recent Linux kernel and possibly \"sysctl -w net.ipv4.tcp_fastopen=3\"\n Client side is disabled by default pending further compatibility testing\n with networks and systems.\n\n- Increase maximum command length to 9000 bytes\n\n- Free memory before exiting, patch from Thorsten Horstmann. Useful for\n Dropbear ports to embedded systems and for checking memory leaks\n with valgrind. Only partially implemented for dbclient.\n This is disabled by default, enable with DROPBEAR_CLEANUP in sysoptions.h\n\n- DROPBEAR_DEFAULT_CLI_AUTHKEY setting now always prepends home directory unless\n there is a leading slash (~ isn't treated specially)\n\n- Fix small ECC memory leaks\n\n- Tighten validation of Diffie-Hellman parameters, from Florent Daigniere of\n Matta Consulting. Odds of bad values are around 2**-512 -- improbable.\n\n- Twofish-ctr cipher is supported though disabled by default\n\n- Fix pre-authentication timeout when waiting for client SSH-2.0 banner, thanks\n to CL Ouyang\n\n- Fix null pointer crash with restrictions in authorized_keys without a command, patch from\n Guilhem Moulin\n\n- Ensure authentication timeout is handled while reading the initial banner,\n thanks to CL Ouyang for finding it.\n\n- Fix null pointer crash when handling bad ECC keys. Found by afl-fuzz\n\n2015.67 - Wednesday 28 January 2015\n\n- Call fsync() after generating private keys to ensure they aren't lost if a\n reboot occurs. Thanks to Peter Korsgaard\n\n- Disable non-delayed zlib compression by default on the server. Can be\n enabled if required for old clients with DROPBEAR_SERVER_DELAY_ZLIB\n\n- Default client key path ~/.ssh/id_dropbear\n\n- Prefer stronger algorithms by default, from Fedor Brunner.\n AES256 over 3DES\n Diffie-hellman group14 over group1\n\n- Add option to disable CBC ciphers.\n\n- Disable twofish in default options.h\n\n- Enable sha2 HMAC algorithms by default, the code was already required\n \ for ECC key exchange. sha1 is the first preference still for performance.\n\n- Fix installing dropbear.8 in a separate build directory, from Like Ma\n\n- Allow configure to succeed if libtomcrypt/libtommath are missing, from Elan Ruusam辰e\n\n- Don't crash if ssh-agent provides an unknown type of key. From Catalin Patulea\n\n- Minor bug fixes, a few issues found by Coverity scan\n\n2014.66 - Thursday 23 October 2014\n\n- Use the same keepalive handling behaviour as OpenSSH. This will work better\n with some SSH implementations that have different behaviour with unknown\n message types.\n\n- Don't reply with SSH_MSG_UNIMPLEMENTED when we receive a reply to our own\n keepalive message\n\n- Set $SSH_CLIENT to keep bash happy, patch from Ryan Cleere\n\n- Fix wtmp which broke since 2013.62, patch from Whoopie\n\n2014.65 - Friday 8 August 2014\n\n- Fix 2014.64 regression, server session hang on exit with scp (and probably\n others), thanks to NiLuJe for tracking it down\n\n- Fix 2014.64 regression, clock_gettime() error handling which broke on older\n Linux kernels, reported by NiLuJe\n\n- Fix 2014.64 regression, writev() could occassionally fail with EAGAIN which\n wasn't caught\n\n- Avoid error message when trying to set QoS on proxycommand or multihop pipes\n\n- Use /usr/bin/xauth, thanks to Mike Frysinger\n\n- Don't exit the client if the local user entry can't be found, thanks to iquaba\n\n2014.64 - Sunday 27 July 2014\n\n- Fix compiling with ECDSA and DSS disabled\n\n- Don't exit abruptly if too many outgoing packets are queued for writev(). Patch\n thanks to Ronny Meeus\n\n- The -K keepalive option now behaves more like OpenSSH's \"ServerAliveInterval\".\n If no response is received after 3 keepalives then the session is terminated. This\n will close connections faster than waiting for a TCP timeout.\n\n- Rework TCP priority setting. New settings are\n\tif (connecting || ptys || x11) tos = LOWDELAY\n\telse if (tcp_forwards) tos = 0\n\telse tos = BULK\n Thanks to Catalin Patulea for the suggestion.\n\n- Improve handling of many concurrent new TCP forwarded connections, should now\n \ be able to handle as many as MAX_CHANNELS. Thanks to Eduardo Silva for reporting\n \ and investigating it.\n\n- Make sure that exit messages from the client are printed, regression in 2013.57\n\n- Use monotonic clock where available, timeouts won't be affected by system time\n changes\n\n- Add -V for version\n\n2014.63 - Wednesday 19 February 2014\n\n- Fix ~. to terminate a client interactive session after waking a laptop\n from sleep.\n\n- Changed port separator syntax again, now using host^port. This is because\n IPv6 link-local addresses use %. Reported by Gui Iribarren\n\n- Avoid constantly relinking dropbearmulti target, fix \"make install\"\n for multi target, thanks to Mike Frysinger\n\n- Avoid getting stuck in a loop writing huge key files, reported by Bruno\n Thomsen\n\n- Don't link dropbearkey or dropbearconvert to libz or libutil,\n thanks to Nicolas Boos\n\n- Fix linking -lcrypt on systems without /usr/lib, thanks to Nicolas Boos\n\n- Avoid crash on exit due to cleaned up keys before last packets are sent,\n debugged by Ronald Wahl\n\n- Fix a race condition in rekeying where Dropbear would exit if it received a\n still-in-flight packet after initiating rekeying. Reported by Oliver Metz.\n This is a longstanding bug but is triggered more easily since 2013.57\n\n- Fix README for ecdsa keys, from Catalin Patulea\n\n- Ensure that generated RSA keys are always exactly the length\n requested. Previously Dropbear always generated N+16 or N+15 bit keys.\n Thanks to Unit 193\n\n- Fix DROPBEAR_CLI_IMMEDIATE_AUTH mode which saves a network round trip if the\n first public key succeeds. Still not enabled by default, needs more\n compatibility testing with other implementations.\n\n- Fix for port 0 forwarding in the client and port forwarding with Apache MINA SSHD.\n\n- Fix for bad system linux/pkt-sched.h header file with older Linux\nkernels, from Steve Dover\n\n- Fix signal handlers so that errno is saved, thanks to Erik Ahl�n for a patch\n and Mark Wickham for independently spotting the same problem.\n" module: pkgsrc subject: 'CVS commit: pkgsrc/security/dropbear' unixtime: '1494971661' user: snj