GLSA 201801-11: PySAML2: Security bypass
Severity: | normal |
Title: | PySAML2: Security bypass |
Date: | 01/11/2018 |
Bugs: |
|
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 | Architecture(s) |
---|---|---|---|
dev-python/pysaml2 | < 4.0.2-r3 | >= 4.0.2-r3 | All supported architectures |
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 4.0 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-python/pysaml2-4.0.2-r3"
All PySAML2 4.5 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/pysaml2-4.5.0"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
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@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2010 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.