d962ab23814fec4571c1a155363a6cfe70a57bad
decode_token treats any decode failure, and any cookie over 4096 chars, as not signed in, and requires exp and sub. PyJWT 2.13.0 -> 2.15.1 (pip-audit: 13 advisories -> none). Security review SEC-07: a crafted 1.6 KB cookie with no account gave 500 + stack trace; now 401. New tests/security_check.py (no browser): D21 section 6/6. Againstda1325cwith PyJWT 2.13.0 it fails 3 checks (crafted cookie 500, token with no exp accepted, old pin) - the findings. The over-long cookie and the two still-works checks pass on both. Smoke test 27/27. (cherry picked from commit01ce7e941c)
Description
No description provided
Languages
Python
53.8%
JavaScript
30.1%
HTML
7.9%
CSS
7.8%
Shell
0.3%