Improper Authentication in lua-resty-jwt - CVE-2024-33531

 

Improper Authentication in lua-resty-jwt - CVE-2024-33531

Published: September 19, 2024 / Updated: April 28, 2026


Vulnerability identifier: #VU97583
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2024-33531
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: cdbattags (Christian Battaglia)
Affected software:
lua-resty-jwt

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an error in when processing authentication requests. A remote attacker can bypass authentication process and gain unauthorized access to the application by sending a specially crafted JWT with an enc header with the value A256GCM.


How to mitigate CVE-2024-33531

Install updates from vendor's website.

Sources