Advisory

PYSEC-2020-69

Also known as: CVE-2020-26244, GHSA-4fjv-pmhg-3rfg

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2020-12-02 20:15 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

oic

PyPI · All systems

Affected

  • introduced 0, fixed 1.2.1 (ecosystem)

Fixed versions

1.2.1

Fix

  • Fixed version 1.2.1
    pip install --upgrade oic==1.2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences