Vulnerability · Published Dec 2, 2020 · Assigned by GitHub_M

CVE-2020-26244Cryptographic issues in Python oic

Medium 6.8

In plain English

A medium-severity security flaw in pyoidc from OpenIDC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.8%top 42.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIoic1.2.1GHSA-4fjv-pmhg-3rfg
PyPIoic1.2.1PYSEC-2020-69

Affected products (as reported)

VendorProductVersions
OpenIDC pyoidc < 1.2.1

Weakness: CWE-325, CWE-347 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

References