Cryptographic Issues Affecting oic package, versions [,1.2.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cryptographic Issues vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-OIC-1047572
  • published1 Dec 2020
  • disclosed1 Dec 2020
  • credittpazderka

Introduced: 1 Dec 2020

CVE-2020-26244  (opens in a new tab)
CWE-310  (opens in a new tab)

How to fix?

Upgrade oic to version 1.2.1 or higher.

Overview

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)

CVSS Base Scores

version 3.1