ADVISORIES

SUSE Security Update

SUSE-SU-2016:1195-1

Security update for python-tornado

Details

The python-tornado module was updated to version 4.2.1, which brings several fixes, enhancements and new features.

The following security issues have been fixed:

  • A path traversal vulnerability in StaticFileHandler, in which files whose names

started with the static_path directory but were not actually in that directory could be accessed.

  • The XSRF token is now encoded with a random mask on each request. This makes it

safe to include in compressed pages without being vulnerable to the BREACH attack. This applies to most applications that use both the xsrf_cookies and gzip options (or have gzip applied by a proxy). (bsc#930362, CVE-2014-9720)

  • The signed-value format used by RequestHandler.{g,s}et_secure_cookie changed to be

more secure. (bsc#930361)

The following enhancements have been implemented:

  • SSLIOStream.connect and IOStream.start_tls now validate certificates by default.
  • Certificate validation will now use the system CA root certificates.
  • The default SSL configuration has become stricter, using ssl.create_default_context

where available on the client side.

  • The deprecated classes in the tornado.auth module, GoogleMixin, FacebookMixin and

FriendFeedMixin have been removed.

  • New modules have been added: tornado.locks and tornado.queues.
  • The tornado.websocket module now supports compression via the 'permessage-deflate'

extension.

  • Tornado now depends on the backports.ssl_match_hostname when running on Python 2.

For a comprehensive list of changes, please refer to the release notes:

  • http://www.tornadoweb.org/en/stable/releases/v4.2.0.html
  • http://www.tornadoweb.org/en/stable/releases/v4.1.0.html
  • http://www.tornadoweb.org/en/stable/releases/v4.0.0.html
  • http://www.tornadoweb.org/en/stable/releases/v3.2.0.html

Affected packages

EcosystemPackageAffected versions
SUSE:Linux Enterprise Desktop 12python-backports.ssl_match_hostname
All versions before 3.4.0.2-15.1 (fixed in 3.4.0.2-15.1)
SUSE:Linux Enterprise Desktop 12python-tornado
All versions before 4.2.1-11.1 (fixed in 4.2.1-11.1)
SUSE:Linux Enterprise Desktop 12 SP1python-backports.ssl_match_hostname
All versions before 3.4.0.2-15.1 (fixed in 3.4.0.2-15.1)
SUSE:Linux Enterprise Desktop 12 SP1python-tornado
All versions before 4.2.1-11.1 (fixed in 4.2.1-11.1)
SUSE:Linux Enterprise Workstation Extension 12python-backports.ssl_match_hostname
All versions before 3.4.0.2-15.1 (fixed in 3.4.0.2-15.1)
SUSE:Linux Enterprise Workstation Extension 12python-tornado
All versions before 4.2.1-11.1 (fixed in 4.2.1-11.1)
SUSE:Linux Enterprise Workstation Extension 12 SP1python-backports.ssl_match_hostname
All versions before 3.4.0.2-15.1 (fixed in 3.4.0.2-15.1)
SUSE:Linux Enterprise Workstation Extension 12 SP1python-tornado
All versions before 4.2.1-11.1 (fixed in 4.2.1-11.1)

References