Highlights
Insecure TLS/SSL Connection: 4 prior fixes. Scrutinize any change in this area.
stripe/__init__.py: most-fixed (2 issues). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Insecure TLS/SSL Connection: The library failed to guarantee SSL certificate verification due to missing dependency minimums for the underlying 'requests' library, potentially silently skipping validation when executing HTTP requests. Developers must verify that dependency versions supporting SSL enforcement are strictly required.
Deserialization of Untrusted Data: Webhooks were vulnerable to untrusted deserialization because JSON payload parsing occurred prior to signature verification, exposing the application to denial-of-service or payload-processing side-effects. Verification must strictly gate deserialization sinks.
Insecure TLS/SSL Connection: Cryptographic bypasses occurred in the custom certificate blacklisting logic due to hashing PEM-formatted strings instead of DER-encoded binaries, rendering revocation lists ineffective against compromised credentials.