CVE-2016-10149 json
Pysaml2 does not sanitize XML responses
published 2017-03-24 9 y ago modified 2026-06-17 4 mo ago also GHSA-c2vx-49jm-h3f6 , PYSEC-2017-25 , EUVD-2017-0104
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.0%
- EPSS 5.0% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi pysaml2 4.5.0
- python-pysaml2 Debian 14, Debian 13, Debian 12 3.0.0-5
debian advisories DEBIAN-CVE-2016-10149
- python-pysaml2 Ubuntu 16.04 LTS 3.0.0-3ubuntu1.16.04.1
ubuntu advisories UBUNTU-CVE-2016-10149
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-pysaml2 openstack 10, openstack 9, openstack 8 3.0.2-3.el7ost
- python-defusedxml openstack 10, openstack 9, openstack 8 0.5.0-1.el7ost
red hat advisories RHSA-2017:0938RHSA-2017:0937RHSA-2017:0936
- python-pysaml2 OpenStack Cloud 6 2.4.0-3.1
- python-defusedxml OpenStack Cloud 6 0.4.1-2.1
suse advisories SUSE-SU-2017:0569-1
- github.com/rohe/pysaml2@6e09a25 commit
- github.com/rohe/pysaml2#379 pull request
- github.com/rohe/pysaml2/issues/366 advisory
- openwall.com/lists/oss-security/2017/01/19/5 advisory
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=850716 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-10149 updated cvss 5.3
python-pysaml2: Entity expansion issue
-
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) python-pysaml2affected: no fix planned “Will not fix”
-
Red Hat OpenStack Platform 8.0 (Liberty) python-pysaml2 3.0.2-3.el7ost, python-defusedxml 0.5.0-1.el7ostfixed: vendor fix RHSA-2017:0936
-
Red Hat OpenStack Platform 9.0 python-pysaml2 3.0.2-3.el7ost, python-defusedxml 0.5.0-1.el7ostfixed: vendor fix RHSA-2017:0937
-
Red Hat OpenStack Platform 10.0 python-pysaml2 3.0.2-3.el7ost, python-defusedxml 0.5.0-1.el7ostfixed: vendor fix RHSA-2017:0938
-
Red Hat OpenStack Platform 11 (Ocata) python-pysaml2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.02% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pysaml2 | <4.5.0 |
4.5.0 |
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
github.com
/rohe/pysaml2/commit/6e09a25d9b4b7aa7a506853210a9a14100b8bc9b
web, issue-tracking, patch, third-party-advisory
-
github.com
/rohe/pysaml2/pull/379
web, issue-tracking, patch, third-party-advisory
-
github.com
/rohe/pysaml2/issues/366
web, issue-tracking, patch, third-party-advisory, report
-
openwall.com
/lists/oss-security/2017/01/19/5
mailing-list, web, patch, third-party-advisory
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=850716
web, issue-tracking, patch, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:0936
vendor-advisory, web, advisory
-
debian.org
/security/2017/dsa-3759
vendor-advisory, web, third-party-advisory, advisory
-
access.redhat.com
/errata/RHSA-2017:0938
vendor-advisory, web, advisory
-
access.redhat.com
/errata/RHSA-2017:0937
vendor-advisory, web, advisory
-
securityfocus.com
/bid/97692
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2016-10149
advisory
-
github.com
/advisories/GHSA-c2vx-49jm-h3f6
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/pysaml2/PYSEC-2017-25.yaml
web
-
github.com
/rohe/pysaml2
package
Sources
- CVE List CVE-2016-10149
- GitHub Advisory GHSA-c2vx-49jm-h3f6
- NVD CVE-2016-10149
- OSV PYSEC-2017-25
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.