{"schemaVersion":3,"id":"CVE-2024-53861","aliases":["GHSA-75c5-xw7c-p5pm","PYSEC-2026-1814","CGA-759c-h76v-vcfh","CGA-h7hf-2qwj-v2jv","CGA-j9wf-3cvq-rr9c","CGA-m2q3-9hfv-9rqg","CGA-r4pw-7q2c-f697","CGA-rfmr-2gmm-9vc2","openSUSE-SU-2024:14540-1","CGA-26r6-446h-p38v","CGA-fgvc-v4w2-3gf8","CGA-w22r-xqc7-54rr","CGA-xp7r-669p-2h2j"],"status":"published","duplicateOf":null,"title":null,"description":"pyjwt is a JSON Web Token implementation in Python. An incorrect string comparison is run for `iss` checking, resulting in `\"acb\"` being accepted for `\"_abc_\"`. This is a bug introduced in version 2.10.0: checking the \"iss\" claim changed from `isinstance(issuer, list)` to `isinstance(issuer, Sequence)`. Since str is a Sequnce, but not a list, `in` is also used for string comparison. This results in `if \"abc\" not in \"__abcd__\":` being checked instead of `if \"abc\" != \"__abc__\":`. Signature checks are still present so real world impact is likely limited to denial of service scenarios. This issue has been patched in version 2.10.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.","dates":{"published":"2024-11-29T18:43:07.644Z","modified":"2024-12-02T18:10:35.507Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":2.1,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":1.8,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":1.8,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":1.8,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00832,"percentile":0.56886,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00832},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00832,"percentile":0.56886}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00832,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00832,"percentile":0.56886}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_JPADILLA_PYJWT","name":"Pyjwt","source":"github","url":"https://github.com/jpadilla/pyjwt/security/advisories/GHSA-75c5-xw7c-p5pm","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-697","name":"Incorrect Comparison","description":"The product compares two entities in a security-relevant context, but the comparison is incorrect.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/697.html"}],"affected":[{"vendor":"chainguard","product":"az","name":"az","label":"az","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/az","purlType":"apk","versions":[{"text":"< 2.67.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.67.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"az-iamguarded-compat","name":"az-iamguarded-compat","label":"az-iamguarded-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/az-iamguarded-compat","purlType":"apk","versions":[{"text":"< 2.67.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.67.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"barman","name":"barman","label":"barman","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/barman","purlType":"apk","versions":[{"text":"< 3.12.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.12.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"barman-cloudnative-pg","name":"barman-cloudnative-pg","label":"barman-cloudnative-pg","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/barman-cloudnative-pg","purlType":"apk","versions":[{"text":"< 3.12.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.12.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3-pyjwt","name":"py3-pyjwt","label":"py3-pyjwt","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3-pyjwt","purlType":"apk","versions":[{"text":"< 2.10.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.10.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"az","name":"az","label":"az","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/az","purlType":"apk","versions":[{"text":"< 2.67.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.67.0-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"az-iamguarded-compat","name":"az-iamguarded-compat","label":"az-iamguarded-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/az-iamguarded-compat","purlType":"apk","versions":[{"text":"< 2.67.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.67.0-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3-pyjwt","name":"py3-pyjwt","label":"py3-pyjwt","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3-pyjwt","purlType":"apk","versions":[{"text":"< 2.10.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.10.1-r0","eol":null,"hubHref":null},{"vendor":"jpadilla","product":"pyjwt","name":"pyjwt","label":"pyjwt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"= 2.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"= 2.10.0","eol":null,"hubHref":"/vendor/jpadilla/pyjwt"},{"vendor":"pyjwt_project","product":"pyjwt","name":"pyjwt","label":"pyjwt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.10.0","eol":null,"hubHref":"/vendor/pyjwt_project/pyjwt"},{"vendor":"PyPI","product":"pyjwt","name":"pyjwt","label":"pyjwt","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pyjwt","purlType":"pypi","versions":[{"text":"≥ 2.10.0, < 2.10.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.10.0, < 2.10.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-PyJWT&distro=openSUSE Tumbleweed","name":"python-PyJWT","label":"python-PyJWT&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-PyJWT&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 2.10.1-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.10.1-1.1","eol":null,"hubHref":null}],"affectedCount":12,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/jpadilla/pyjwt/security/advisories/GHSA-75c5-xw7c-p5pm","label":"github.com/jpadilla/pyjwt/security/advisories/GHSA-75c5-xw7c-p5pm","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/jpadilla/pyjwt/commit/1570e708672aa9036bc772476beae8bfa48f4131#diff-6893ad4a1c5a36b8af3028db8c8bc3b62418149843fc382faf901eaab008e380R366","label":"github.com/jpadilla/pyjwt/commit/1570e708672aa9036bc772476beae8bfa48f4131","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/jpadilla/pyjwt/commit/33022c25525c1020869c71ce2a4109e44ae4ced1","label":"github.com/jpadilla/pyjwt/commit/33022c25525c1020869c71ce2a4109e44ae4ced1","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53861","label":"nvd.nist.gov/vuln/detail/CVE-2024-53861","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/jpadilla/pyjwt","label":"github.com/jpadilla/pyjwt","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/pyjwt","label":"pypi.org/project/pyjwt","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-75c5-xw7c-p5pm","label":"github.com/advisories/GHSA-75c5-xw7c-p5pm","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53861.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53861.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-53861","label":"www.suse.com/security/cve/CVE-2024-53861","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["SUSE-SU-2026:20879-1"],"duplicates":[],"related":["CGA-29JX-3FVH-5P5G","SUSE-SU-2026:20879-1","UBUNTU-CVE-2024-53861"]},"timeline":[{"kind":"published","date":"2024-11-29T18:43:07.644Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-12-02T18:10:35.507Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:32:17.995Z","stale":false,"partial":false}}