Skip to content

CVE-2020-26244 Cryptographic issues in Python oic

MediumCVSS 6.8 EPSS 0.83%
Published
Updated
Exploit status
No public exploit known

Description

Python oic is a Python OpenID Connect implementation. In Python oic before version 1.2.1, there are several related cryptographic issues affecting client implementations that use the library. The issues are: 1) The IdToken signature algorithm was not checked automatically, but only if the expected algorithm was passed in as a kwarg. 2) JWA none algorithm was allowed in all flows. 3) oic.consumer.Consumer.parse_authz returns an unverified IdToken. The verification of the token was left to the discretion of the implementator. 4) iat claim was not checked for sanity (i.e. it could be in the future). These issues are patched in version 1.2.1.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
pypi oic(PyPI) < 1.2.1; = 0.4.0; = 0.5.0; = 0.6.0 +32 more 1.2.1 Fixed
python openid connect project python openid connect < 1.2.1 1.2.1 Fixed
OpenIDC pyoidc = < 1.2.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi oic(PyPI) < 1.2.1 1.2.1
pypi oic(PyPI) = 0.10.0.0 No fix listed
pypi oic(PyPI) = 0.11.0.0 No fix listed
pypi oic(PyPI) = 0.11.0.1 No fix listed
pypi oic(PyPI) = 0.12.0 No fix listed
pypi oic(PyPI) = 0.13.0 No fix listed
pypi oic(PyPI) = 0.13.1 No fix listed
pypi oic(PyPI) = 0.14.0 No fix listed
pypi oic(PyPI) = 0.15.0 No fix listed
pypi oic(PyPI) = 0.15.1 No fix listed
pypi oic(PyPI) = 0.4.0 No fix listed
pypi oic(PyPI) = 0.5.0 No fix listed
pypi oic(PyPI) = 0.6.0 No fix listed
pypi oic(PyPI) = 0.7.0 No fix listed
pypi oic(PyPI) = 0.7.2 No fix listed
pypi oic(PyPI) = 0.7.3 No fix listed
pypi oic(PyPI) = 0.7.4 No fix listed
pypi oic(PyPI) = 0.7.5 No fix listed
pypi oic(PyPI) = 0.7.6 No fix listed
pypi oic(PyPI) = 0.7.7 No fix listed
pypi oic(PyPI) = 0.7.8 No fix listed
pypi oic(PyPI) = 0.8.1 No fix listed
pypi oic(PyPI) = 0.8.2 No fix listed
pypi oic(PyPI) = 0.8.3 No fix listed
pypi oic(PyPI) = 0.8.4.0 No fix listed
Show 13 more
ProductAffected versionsFixed in
pypi oic(PyPI) = 0.8.5.0 No fix listed
pypi oic(PyPI) = 0.9.0.0 No fix listed
pypi oic(PyPI) = 0.9.1.0 No fix listed
pypi oic(PyPI) = 0.9.4.0 No fix listed
pypi oic(PyPI) = 0.9.5.0 No fix listed
pypi oic(PyPI) = 1.0.0 No fix listed
pypi oic(PyPI) = 1.0.1 No fix listed
pypi oic(PyPI) = 1.1.0 No fix listed
pypi oic(PyPI) = 1.1.1 No fix listed
pypi oic(PyPI) = 1.1.2 No fix listed
pypi oic(PyPI) = 1.2.0 No fix listed
python openid connect project python openid connect < 1.2.1 1.2.1
OpenIDC pyoidc = < 1.2.1 No fix listed

References