oic@1.0.1 vulnerabilities

Python implementation of OAuth2 and OpenID Connect

Direct Vulnerabilities

Known vulnerabilities in the oic package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • L
Cryptographic Issues

Affected versions of this package are vulnerable to Cryptographic Issues due to the following:

  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)

How to fix Cryptographic Issues?

Upgrade oic to version 1.2.1 or higher.

[,1.2.1)