High
Security advisory
cdbattags lua-resty-jwt 0.2.3 allows attackers to bypass all JWT-parsing signature checks by crafting a JWT with an enc header with the value A256GCM.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-33531
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:32 UTC · Revision 1
Source evidence
cdbattags lua-resty-jwt 0.2.3 allows attackers to bypass all JWT-parsing signature checks by crafting a JWT with an enc header with the value A256GCM.
osv:CVE-2024-33531
Complete source record
{
"id": "2a33bd5918fed95903eb75f8e417dc0505753fcac79229a306562c5054100b74",
"url": "https://osv.dev/vulnerability/CVE-2024-33531",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-33531",
"summary": "cdbattags lua-resty-jwt 0.2.3 allows attackers to bypass all JWT-parsing signature checks by crafting a JWT with an enc header with the value A256GCM.",
"evidence": "osv:CVE-2024-33531",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-33531",
"aliases": [
"CVE-2024-33531"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/cdbattags/lua-resty-jwt",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d1558e2afefe868fea1e7e9a4b04ea94ab678a85"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "d1558e2afefe868fea1e7e9a4b04ea94ab678a85"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.11",
"v0.1.10",
"v0.1.9",
"v0.1.8",
"v0.1.7",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.2",
"v0.1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-33531.json"
}
}
],
"modified": "2026-10-28T02:30:22.244751840Z",
"provider": "osv",
"references": [
"https://insinuator.net/2023/10/lua-resty-jwt-authentication-bypass/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33531.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-33531",
"https://github.com/cdbattags/lua-resty-jwt/issues/61",
"https://github.com/cdbattags/lua-resty-jwt/commit/d1558e2afefe868fea1e7e9a4b04ea94ab678a85"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33531.json"
}
},
"related_cves": [
{
"value": "CVE-2024-33531",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488527,
"published_at": "2024-04-24T00:00:00+00:00"
}