NULL pointer dereference in lua-resty-jwt - #VU163204
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to crash nginx worker processes and cause sustained denial of service.
The vulnerability exists due to a NULL pointer dereference in the lua-resty-jwt OpenSSL FFI layer when verifying an ECDSA JWT using an RSA public key or certificate without algorithm restrictions from jwt:set_alg_whitelist. An unauthenticated remote attacker can repeatedly submit JWTs specifying an ECDSA algorithm with correctly sized signatures to keep workers crashing.