Patch Ticker

python-jose authentication bypass via empty HMAC key

A Python login-checking library can be fooled, letting anyone in with fake login values.

Summary

python-jose through 3.5.0 accepts zero-length HMAC secrets, so unauthenticated attackers can forge tokens that it accepts.

Affected when

  • HMAC verification key is empty (e.g. oct JWK with empty k)

What to do

Check that you run a python-jose version newer than 3.5.0 and read the vendor's advisory. The sources name no fixed version.

Products and platforms

  • python-jose

CVE IDs

Sources

Times

First published

First seen