Gentoo Archives: gentoo-announce

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 201801-11 ] PySAML2: Security bypass
Date: Thu, 11 Jan 2018 22:52:21
Message-Id: 23d70ac5-7970-962e-9bf5-1a6c5ee632cd@gentoo.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201801-11
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: PySAML2: Security bypass
     Date: January 11, 2018
     Bugs: #644016
       ID: 201801-11

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A vulnerability in PySAML2 might allow remote attackers to bypass
authentication.

Background
==========

PySAML2 is a pure python implementation of SAML2

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  dev-python/pysaml2           < 4.5.0                    >= 4.5.0

Description
===========

It was found that the PySAML2 relies on an assert statement to check
the user's password. A python optimizations might remove this
assertion.

Impact
======

A remote attacker could bypass security restrictions and access any
application which is using PySAML2 for authentication.

Workaround
==========

Disable python optimizations.

Resolution
==========

All PySAML2 users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=dev-python/pysaml2-4.5.0"

References
==========

[ 1 ] CVE-2017-1000433
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-1000433

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/201801-11

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@g.o or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2018 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature