Changelog for
dropbear-2017.75-3.1.i586.rpm :
Tue Feb 20 13:00:00 2018 thardeckAATTsuse.com
- fix fillupdir usage on Tumbleweed
Fri May 19 14:00:00 2017 thardeckAATTsuse.de
- update to upstream version 2017.75
* 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 with -a (Allow connections to forwarded ports from any host)
This could potentially 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.
* 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 symlink their ~/.ssh/authorized_keys to a root-owned file they
couldn\'t normally read. If they managed to get that file to contain valid
authorized_keys with command= 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.
* 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öm and Peter Krefting for patches.
Thu Jul 21 14:00:00 2016 thardeckAATTsuse.com
- update to upstream version 2016.74
* 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 www.beyondsecurity.com/ssd.html
* 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
Mon Mar 21 13:00:00 2016 thardeckAATTsuse.com
- updated to upstream version 2016.73
* Support syslog in dbclient, option -o usesyslog=yes. Patch from Konstantin Tokarev
* Kill a proxycommand when dbclient exits, patch from Konstantin Tokarev
* Option to exit when a TCP forward fails, patch from Konstantin Tokarev
* New \"-o\" option parsing from Konstantin Tokarev. This allows handling some extra options
in the style of OpenSSH, though implementing all OpenSSH options is not planned.
* Fix crash when fallback initshells() is used, reported by Michael Nowak and Mike Tzou
* Allow specifying commands eg \"dropbearmulti dbclient ...\" instead of symlinks
* Various cleanups for issues found by a lint tool, patch from Francois Perrad
* Fix tab indent consistency, patch from Francois Perrad
* Fix issues found by cppcheck, reported by Mike Tzou
* Use system memset_s() or explicit_bzero() if available to clear memory. Also make
libtomcrypt/libtommath routines use that (or Dropbear\'s own m_burn()).
* Prevent scp failing when the local user doesn\'t exist. Based on patch from Michael Witten.
* Improved Travis CI test running, thanks to Mike Tzou
* Improve some code that was flagged by Coverity and Fortify Static Code Analyzer
Fri Mar 11 13:00:00 2016 thardeckAATTsuse.com
- updated to upstream version 2016.72
* Validate X11 forwarding input. Could allow bypass of authorized_keys command= restrictions,
found by github.com/tintinweb. Thanks for Damien Miller for a patch.
- used as bug fix release for bnc#970633 - VUL-0: CVE-2016-3116
Fri Dec 4 13:00:00 2015 thardeckAATTsuse.com
- updated to upstream version 2015.71
* Fix \"bad buf_incrpos\" when data is transferred, broke in 2015.69
* Fix crash on exit when -p address:port is used, broke in 2015.68
* Fix building with only ENABLE_CLI_REMOTETCPFWD given, patch from Konstantin Tokarev
* Fix bad configure script test which didn\'t work with dash shell, patch from Juergen Daubert,
broke in 2015.70
* Fix server race condition that could cause sessions to hang on exit,
https://github.com/robotframework/SSHLibrary/issues/128
Thu Nov 26 13:00:00 2015 thardeckAATTsuse.com
- updated to upstream version 2015.70
* Fix server password authentication on Linux, broke in 2015.69
* Fix crash when forwarded TCP connections fail to connect (bug introduced in 2015.68)
* Avoid hang on session close when multiple sessions are started, affects Qt Creator
Patch from Andrzej Szombierski
* Reduce per-channel memory consumption in common case, increase default
channel limit from 100 to 1000 which should improve SOCKS forwarding for modern
webpages
* Handle multiple command line arguments in a single flag, thanks to Guilhem Moulin
* Manpage improvements from Guilhem Moulin
* Build fixes for Android from Mike Frysinger
* Don\'t display the MOTD when an explicit command is run from Guilhem Moulin
* Check curve25519 shared secret isn\'t zero
Mon Aug 10 14:00:00 2015 thardeckAATTsuse.com
- updated to upstream version 2015.68
* Reduce local data copying for improved efficiency. Measured 30%
increase in throughput for connections to localhost
* Forwarded TCP ports connect asynchronously and try all available addresses
(IPv4, IPv6, round robin DNS)
* Fix all compile warnings, many patches from Gaël Portay
Note that configure with -Werror may not be successful on some platforms (OS X)
and some configuration options may still result in unused variable
warnings.
* Use TCP Fast Open on Linux if available. Saves a round trip at connection
to hosts that have previously been connected.
Needs a recent Linux kernel and possibly \"sysctl -w net.ipv4.tcp_fastopen=3\"
Client side is disabled by default pending further compatibility testing
with networks and systems.
* Increase maximum command length to 9000 bytes
* Free memory before exiting, patch from Thorsten Horstmann. Useful for
Dropbear ports to embedded systems and for checking memory leaks
with valgrind. Only partially implemented for dbclient.
This is disabled by default, enable with DROPBEAR_CLEANUP in sysoptions.h
* DROPBEAR_DEFAULT_CLI_AUTHKEY setting now always prepends home directory unless
there is a leading slash (~ isn\'t treated specially)
* Fix small ECC memory leaks
* Tighten validation of Diffie-Hellman parameters, from Florent Daigniere of
Matta Consulting. Odds of bad values are around 2
*
*-512 -- improbable.
* Twofish-ctr cipher is supported though disabled by default
* Fix pre-authentication timeout when waiting for client SSH-2.0 banner, thanks
to CL Ouyang
* Fix null pointer crash with restrictions in authorized_keys without a command, patch from
Guilhem Moulin
* Ensure authentication timeout is handled while reading the initial banner,
thanks to CL Ouyang for finding it.
* Fix null pointer crash when handling bad ECC keys. Found by afl-fuzz
Thu Feb 5 13:00:00 2015 thardeckAATTsuse.com
- fixed checksum URL
Wed Jan 28 13:00:00 2015 thardeckAATTsuse.com
- updated to upstream version 2015.67
* Call fsync() after generating private keys to ensure they aren\'t lost if a
reboot occurs. Thanks to Peter Korsgaard
* Disable non-delayed zlib compression by default on the server. Can be
enabled if required for old clients with DROPBEAR_SERVER_DELAY_ZLIB
* Default client key path ~/.ssh/id_dropbear
* Prefer stronger algorithms by default, from Fedor Brunner.
AES256 over 3DES
Diffie-hellman group14 over group1
* Add option to disable CBC ciphers.
* Disable twofish in default options.h
* Enable sha2 HMAC algorithms by default, the code was already required
for ECC key exchange. sha1 is the first preference still for performance.
* Fix installing dropbear.8 in a separate build directory, from Like Ma
* Allow configure to succeed if libtomcrypt/libtommath are missing, from Elan Ruusamäe
* Don\'t crash if ssh-agent provides an unknown type of key. From Catalin Patulea
* Minor bug fixes, a few issues found by Coverity scan
Thu Dec 4 13:00:00 2014 thardeckAATTsuse.com
- replaced deprecated gpg-offline check by obs-service-source_validator
Fri Oct 24 14:00:00 2014 thardeckAATTsuse.com
- updated to upstream version 2014.66
* Use the same keepalive handling behaviour as OpenSSH. This will work better
with some SSH implementations that have different behaviour with unknown
message types.
* Don\'t reply with SSH_MSG_UNIMPLEMENTED when we receive a reply to our own
keepalive message
* Set $SSH_CLIENT to keep bash happy, patch from Ryan Cleere
* Fix wtmp which broke since 2013.62, patch from Whoopie
Mon Aug 11 14:00:00 2014 thardeckAATTsuse.com
- updated to upstream version 2014.65
* Fix 2014.64 regression, server session hang on exit with scp (and probably
others), thanks to NiLuJe for tracking it down
* Fix 2014.64 regression, clock_gettime() error handling which broke on older
Linux kernels, reported by NiLuJe
* Fix 2014.64 regression, writev() could occassionally fail with EAGAIN which
wasn\'t caught
* Avoid error message when trying to set QoS on proxycommand or multihop pipes
* Use /usr/bin/xauth, thanks to Mike Frysinger
* Don\'t exit the client if the local user entry can\'t be found, thanks to iquaba
Mon Jul 28 14:00:00 2014 thardeckAATTsuse.com
- removed obsolete gpg soure code verifcation workaround
- added missing systemd entries for dropbear-keygen.service
- updated to upstream version 2014.64
* Fix compiling with ECDSA and DSS disabled
* Don\'t exit abruptly if too many outgoing packets are queued for writev(). Patch
thanks to Ronny Meeus
* The -K keepalive option now behaves more like OpenSSH\'s \"ServerAliveInterval\".
If no response is received after 3 keepalives then the session is terminated. This
will close connections faster than waiting for a TCP timeout.
* Rework TCP priority setting. New settings are
if (connecting || ptys || x11) tos = LOWDELAY
else if (tcp_forwards) tos = 0
else tos = BULK
Thanks to Catalin Patulea for the suggestion.
* Improve handling of many concurrent new TCP forwarded connections, should now
be able to handle as many as MAX_CHANNELS. Thanks to Eduardo Silva for reporting
and investigating it.
* Make sure that exit messages from the client are printed, regression in 2013.57
* Use monotonic clock where available, timeouts won\'t be affected by system time
changes
* Add -V for version
Thu Feb 20 13:00:00 2014 thardeckAATTsuse.com
- fixed automatic tarball verfication
- updated regular init script to also create ECDSA keys
Wed Feb 19 13:00:00 2014 thardeckAATTsuse.com
- update to upstream version 2014.63
* Fix ~. to terminate a client interactive session after waking a laptop
from sleep.
* Changed port separator syntax again, now using host^port. This is because
IPv6 link-local addresses use %. Reported by Gui Iribarren
* Avoid constantly relinking dropbearmulti target, fix \"make install\"
for multi target, thanks to Mike Frysinger
* Avoid getting stuck in a loop writing huge key files, reported by Bruno
Thomsen
* Don\'t link dropbearkey or dropbearconvert to libz or libutil,
thanks to Nicolas Boos
* Fix linking -lcrypt on systems without /usr/lib, thanks to Nicolas Boos
* Avoid crash on exit due to cleaned up keys before last packets are sent,
debugged by Ronald Wahl
* Fix a race condition in rekeying where Dropbear would exit if it received a
still-in-flight packet after initiating rekeying. Reported by Oliver Metz.
This is a longstanding bug but is triggered more easily since 2013.57
* [...]
- updated service files and activated building of ecdsa keys
- only package the old init service in distributions without systemd
- adapted spec to follow systemd package guidelines
- cleaned up spec file
Wed Dec 4 13:00:00 2013 thardeckAATTsuse.com
- imported upstream version 2013.62
* Disable \"interactive\" QoS connection options when a connection doesn\'t
have a PTY (eg scp, rsync). Thanks to Catalin Patulea for the patch.
* Log when a hostkey is generated with -R, fix some bugs in handling server
hostkey commandline options
* Fix crash in Dropbearconvert and 521 bit key, reported by NiLuJe
* Update config.guess and config.sub again
* ECC (elliptic curve) support. Supports ECDSA hostkeys (requires new keys to
be generated) and ECDH for setting up encryption keys (no intervention
required). This is significantly faster.
* curve25519-sha256AATTlibssh.org support for setting up encryption keys. This is
another elliptic curve mode with less potential of NSA interference in
algorithm parameters. curve25519-donna code thanks to Adam Langley
* -R option to automatically generate hostkeys. This is recommended for
embedded platforms since it allows the system random number device
/dev/urandom a longer startup time to generate a secure seed before the
hostkey is required.
* Compile fixes for old vendor compilers like Tru64 from Daniel Richard G.
* Make authorized_keys handling more robust, don\'t exit encountering
malformed lines. Thanks to Lorin Hochstein and Mark Stillwell
Thu Oct 17 14:00:00 2013 thardeckAATTsuse.com
- imported upstream version 2013.60
* Fix \"make install\" so that it doesn\'t always install to /bin and /sbin
* Fix \"make install MULTI=1\", installing manpages failed
* Fix \"make install\" when scp is included since it has no manpage
* Make --disable-bundled-libtom work
- used as bug fix release for bnc#845306 - VUL-0: CVE-2013-4421
Thu Oct 10 14:00:00 2013 thardeckAATTsuse.com
- provided links for download sources
- employed gpg-offline - verify sources
Mon Oct 7 14:00:00 2013 thardeckAATTsuse.com
- imported upstream version 2013.59
* Fix crash from -J command
Thanks to Lluís Batlle i Rossell and Arnaud Mouiche for patches
* Avoid reading too much from /proc/net/rt_cache since that causes
system slowness.
* Improve EOF handling for half-closed connections
Thanks to Catalin Patulea
* Send a banner message to report PAM error messages intended for the user
Patch from Martin Donnelly
* Limit the size of decompressed payloads, avoids memory exhaustion denial
of service
Thanks to Logan Lamb for reporting and investigating it
* Avoid disclosing existence of valid users through inconsistent delays
Thanks to Logan Lamb for reporting
* Update config.guess and config.sub for newer architectures
* Avoid segfault in server for locked accounts
* \"make install\" now installs manpages
dropbearkey.8 has been renamed to dropbearkey.1
manpage added for dropbearconvert
* Get rid of one second delay when running non-interactive commands
Sat Apr 20 14:00:00 2013 thardeckAATTsuse.com
- reverted init file installation on 12.3
Fri Apr 19 14:00:00 2013 thardeckAATTsuse.com
- imported upstream version 2013.58
* Fix building with Zlib disabled, thanks to Hans Harder and cumaAATTfreetz
* Use % as a separator for ports, fixes scp in multihop mode, from Hans Harder
* Reject logins for other users when running as non-root, from Hans Harder
* Disable client immediate authentication request by default, it prevents passwordless logins from working
Fri Mar 22 13:00:00 2013 thardeckAATTsuse.com
- imported upstream version 2013.56
* Allow specifying cipher (-c) and MAC (-m) lists for dbclient
* Allow using \'none\' cipher or MAC (off by default, use options.h). Encryption
is used during authentication then disabled, similar to OpenSSH HPN mode
* Allow a user in immediately if the account has a blank password and blank
passwords are enabled
* Include a few extra sources of entropy from /proc on Linux, hash private keys
as well. Dropbear will also write gathered entropy back into /dev/urandom
* Added hmac-sha2-256 and hmac-sha2-512 support (off by default, use options.h)
* Don\'t sent bad address \"localhost\" for -R forward connections,
reported by Denis Bider
* Add \"-B\" runtime option to allow blank passwords
* Allow using IPv6 bracket notation for addresses in server \"-p\" option, from Ben Jencks
* A few improvements for Android from Reimar Döffinger
* Fix memory leak for TCP forwarded connections to hosts that timed out,
reported by Norbert Benczúr. Appears to be a very long-standing bug.
* Fix \"make clean\" for out of tree builds
* Fix compilation when ENABLE_{SVR,CLI}_AGENTFWD are unset
Thu Aug 2 14:00:00 2012 thardeckAATTsuse.com
- removed PAM dependency since Dropbear should be usable in initrd and PAM wasn\'t used without an additional patch anyway https://wiki.yoctoproject.org/wiki/PAM_Integration#dropbear
Mon Jul 9 14:00:00 2012 thardeckAATTsuse.com
- fixed typo in service file
Sat Jun 30 14:00:00 2012 thardeckAATTsuse.com
- added systemd service files for 12.1 and later
- cleaned up sysconfig and rcdropbear files
Tue Jun 19 14:00:00 2012 thardeckAATTsuse.com
- added init daemon with key generation option
- added sysconfig file with default configuration
Fri Jun 15 14:00:00 2012 thardeckAATTsuse.com
- updated spec file - changed the group
Wed Jun 13 14:00:00 2012 thardeckAATTsuse.com
- initial version 2012.55