Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

mpdavis/python-jose
master @ 018b310
10
Fixes
4
CVEs
CRITICAL
Peak severity
42.9%
Coverage
Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
jose/backends/cryptography_backend.py: most-fixed (2 issues). Treat as high-risk during review.
4 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.

Auth Bypass: Attackers can bypass signature verification (CVE-2024-33663) by supplying asymmetric public keys or x509 certificates to APIs expecting HMAC symmetric keys, leading to key confusion.
Auth Bypass: RSA signature verification can be bypassed or inappropriately accepted on backends that natively permit verification using private key objects rather than strictly enforcing public keys.
Timing Attack: HMAC verification using standard equality operator comparison introduces a timing side-channel (CVE-2016-7036), allowing remote attackers to potentially forge valid signatures.