Skip to content
OpenAdvisories
Medium · 6.8 CVE-2020-26244 EUVD-2020-0119GHSA-4fjv-pmhg-3rfgPYSEC-2020-69

Cryptographic issues in Python oic

Published Dec 2, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
OpenIDC pyoidc < 1.2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-oic 1.5.0-1.8 openSUSE-SU-2026:12021-1, openSUSE-SU-2024:14150-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI oic < 1.2.1 1.2.1 GHSA-4fjv-pmhg-3rfg

Advisories 2

References