Skip to content
OpenAdvisories
High · 7.5 CVE-2016-10149 EUVD-2017-0104GHSA-c2vx-49jm-h3f6PYSEC-2017-25

Pysaml2 does not sanitize XML responses

Published Mar 24, 2017 · Updated Aug 6, 2024 · Assigned by mitre

Description

XML External Entity (XXE) vulnerability in PySAML2 4.4.0 and earlier allows remote attackers to read arbitrary files via a crafted SAML XML request or response.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-pysaml2 3.0.0-5 —
Debian 13 python-pysaml2 3.0.0-5 —
Debian 12 python-pysaml2 3.0.0-5 —
Debian 8 python-pysaml2 2.0.0-1+deb8u1 DSA-3759-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS python-pysaml2 3.0.0-3ubuntu1.16.04.1 USN-3402-1
ReleasePackageFixed inAdvisory
Red Hat OpenStack 10 python-defusedxml 0.5.0-1.el7ost RHSA-2017:0938
Red Hat OpenStack 10 python-pysaml2 3.0.2-3.el7ost RHSA-2017:0938
Red Hat OpenStack 9 python-defusedxml 0.5.0-1.el7ost RHSA-2017:0937
Red Hat OpenStack 9 python-pysaml2 3.0.2-3.el7ost RHSA-2017:0937
Red Hat OpenStack 8 python-defusedxml 0.5.0-1.el7ost RHSA-2017:0936
Red Hat OpenStack 8 python-pysaml2 3.0.2-3.el7ost RHSA-2017:0936
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud 6 python-defusedxml 0.4.1-2.1 SUSE-SU-2017:0569-1
SUSE OpenStack Cloud 6 python-pysaml2 2.4.0-3.1 SUSE-SU-2017:0569-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pysaml2 < 4.5.0 4.5.0 GHSA-c2vx-49jm-h3f6

Advisories 6

References