GHSA-4fjv-pmhg-3rfg

    Dashboard / Vulnerabilities / GHSA-4fjv-pmhg-3rfg

    GHSA-4fjv-pmhg-3rfg

    Published: 4 Dec 2020Last Modified: 8 Jul 2026

    Summary: Multiple cryptographic issues in Python oic

    Details: ### Impact * Client implementations using this library ### Issues 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) ### Patches 1) IdToken signature is now always checked. 2) JWA `none` algorithm is now allowed only if using the `response_type` `code` 3) IdToken verification is now done automatically. 4) `iat` claim is now checked for sanity.

    Affected packages

    Package

    Name: oic

    Purl: pkg:pypi/oic

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.2.1

    Affected versions

    0.10.0.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-4fjv-pmhg-3rfg | CVE-DB