CVE-2016-10127 PySAML2 XML external entity attack

Critical 9.0 Published Updated

Remote attackers can exploit XML external entity vulnerabilities in PySAML2 to read sensitive data or cause denial of service via crafted SAML requests.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-10127?

CVE-2016-10127 is a critical vulnerability in n/a, published on 3 Mar 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

PySAML2 allows remote attackers to conduct XML external entity (XXE) attacks via a crafted SAML XML request or response.

Weakness: CWE-611

Which versions are affected by CVE-2016-10127?

3 open source packages ship an affected version, including pysaml2. It affects 1 product.

PackageAffectedFixed in
pysaml2 PyPIAll versions4.5.0
pysaml2 PyPIAll versions4.5.0
pysaml2 PyPIAll versions4.5.0

Products include Pysaml2 Project Pysaml2.

How do I fix CVE-2016-10127?

Upgrade pysaml2 to 4.5.0 or later.

Is CVE-2016-10127 being exploited?

There is no known exploitation of CVE-2016-10127 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2016-10127, GHSA-m269-wj6g-c459, PYSEC-2017-67.

Is CVE-2016-10127 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free