VDB
Sign up
—

PYSEC-2020-69

Quick fix

PYSEC-2020-69 — oic: upgrade to the fixed version with the command below.

pip install --upgrade 'oic>=62f8d753fa17c8b1f29f8be639cf0b33afb02498'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/oic
Introduced in: 0Fixed in: 62f8d753fa17c8b1f29f8be639cf0b33afb02498
Fixpip install --upgrade 'oic>=62f8d753fa17c8b1f29f8be639cf0b33afb02498'

References