CVE-2017-1000246 Pysaml2 improperly initializes encryption vector

Medium 5.3 Published Updated

Attackers can decrypt sensitive data due to IV reuse in pysaml2 IDP server encryption, affecting applications using this library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-1000246?

CVE-2017-1000246 is a medium-severity vulnerability in n/a, published on 17 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Python package pysaml2 version 4.4.0 and earlier reuses the initialization vector across encryptions in the IDP server, resulting in weak encryption of data.

Weakness: CWE-330

Which versions are affected by CVE-2017-1000246?

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

PackageAffectedFixed in
pysaml2 PyPIAll versions4.6.0
pysaml2 PyPIAll versions4.6.0
pysaml2 PyPIAll versions4.6.0

Products include Pysaml2 Project Pysaml2.

How do I fix CVE-2017-1000246?

Upgrade pysaml2 to 4.6.0 or later.

Is CVE-2017-1000246 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-1000246, GHSA-cq94-qf6q-mf2h, PYSEC-2017-26, UBUNTU-CVE-2017-1000246.

Is CVE-2017-1000246 in your software?

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

Check your SBOMs for free