GHSA-mcgx-2gcr-p3hp
LTI JupyterHub Authenticator does not properly validate JWT Signature
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | jupyterhub-ltiauthenticator | >= 1.3.0, < 1.4.0 | 1.4.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
Only users that has configured a JupyterHub installation to use the authenticator class `LTI13Authenticator` are influenced.
LTI13Authenticator that was introduced in `jupyterhub-ltiauthenticator` 1.3.0 wasn't validating JWT signatures. This is believed to allow the LTI13Authenticator to authorize a forged request granting access to existing and new user identities.
### Patches
None.
### Workarounds
None.
### References
- [This code segment](https://github.com/jupyterhub/ltiauthenticator/blob/3feec2e81b9d3b0ad6b58ab4226af640833039f3/ltiauthenticator/lti13/validator.py#L122-L164) didn't validate a JWT signature.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/jupyterhub/ltiauthenticator/security/advisories/GHSA-mcgx-2gcr-p3hp
- https://nvd.nist.gov/vuln/detail/CVE-2023-25574
- https://github.com/jupyterhub/ltiauthenticator
- https://github.com/jupyterhub/ltiauthenticator/blob/3feec2e81b9d3b0ad6b58ab4226af640833039f3/ltiauthenticator/lti13/validator.py#L122-L164
- https://github.com/jupyterhub/ltiauthenticator/blob/main/CHANGELOG.md#140---2023-03-01
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub-ltiauthenticator/PYSEC-2025-120.yaml