PT-2024-25302 · Unknown · Lua-Resty-Jwt
Nils Emmerich
·
Published
2024-04-24
·
Updated
2026-03-02
·
CVE-2024-33531
CVSS v3.1
8.1
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
lua-resty-jwt version 0.2.3
Description
The issue allows attackers to bypass all JWT-parsing signature checks by crafting a JWT with an
enc header with the value A256GCM. This enables them to potentially access unauthorized resources or perform malicious actions.Recommendations
For lua-resty-jwt version 0.2.3, as a temporary workaround, consider restricting the use of the
enc header or validating its value to prevent it from being set to A256GCM until a patch is available. At the moment, there is no information about a newer version that contains a fix for this issue.Fix
Authentication Bypass by Spoofing
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Lua-Resty-Jwt