GLSA-201801-11 : PySAML2: Security bypass

Medium Nessus Plugin ID 105755


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201801-11 (PySAML2: Security bypass)

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.


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'

See Also

Plugin Details

Severity: Medium

ID: 105755

File Name: gentoo_GLSA-201801-11.nasl

Version: $Revision: 3.3 $

Type: local

Published: 2018/01/12

Modified: 2018/01/26

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P


Base Score: 8.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:pysaml2, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2018/01/11

Reference Information

CVE: CVE-2017-1000433

GLSA: 201801-11