Description
sigstore-python is a Python tool for generating and verifying Sigstore signatures. Prior to version 4.2.0, the sigstore-python OAuth authentication flow is susceptible to Cross-Site Request Forgery. `_OAuthSession` creates a unique "state" and sends it as a parameter in the authentication request but the "state" in the server response seems not not be cross-checked with this value. Version 4.2.0 contains a patch for the issue.
Problem types
CWE-352: Cross-Site Request Forgery (CSRF)
Product status
References
github.com/...python/security/advisories/GHSA-hm8f-75xx-w2vr
github.com/...ommit/5e77497fe8f0b202bdd118949074ec2f20da69aa
github.com/sigstore/sigstore-python/releases/tag/v4.2.0