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.
References (4)
Core 4
Core References
Third Party Advisory x_refsource_confirm
https://github.com/OpenIDC/pyoidc/security/advisories/GHSA-4fjv-pmhg-3rfg
Product, Vendor Advisory x_refsource_misc
https://pypi.org/project/oic/
Patch, Third Party Advisory x_refsource_misc
https://github.com/OpenIDC/pyoidc/commit/62f8d753fa17c8b1f29f8be639cf0b33afb02498
Third Party Advisory x_refsource_misc
https://github.com/OpenIDC/pyoidc/releases/tag/1.2.1
Scores
CVSS v3
6.8
EPSS
0.0081
EPSS Percentile
52.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Details
CWE
CWE-325
CWE-347
Status
published
Products (2)
pypi/oic
0 - 1.2.1PyPI
python_openid_connect_project/python_openid_connect
< 1.2.1
Published
Dec 02, 2020
Tracked Since
Feb 18, 2026