CVE-2024-28102

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-28102
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-28102.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-28102
Aliases
Downstream
Related
Published
2024-03-06T21:09:58Z
Modified
2025-10-22T18:41:36.607596Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
JWCrypto vulnerable to JWT bomb Attack in `deserialize` function
Details

JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to version 1.5.6, an attacker can cause a denial of service attack by passing in a malicious JWE Token with a high compression ratio. When the server processes this token, it will consume a lot of memory and processing time. Version 1.5.6 fixes this vulnerability by limiting the maximum token length.

Database specific
{
    "cwe_ids": [
        "CWE-770"
    ]
}
References

Affected packages

Git / github.com/latchset/jwcrypto

Affected ranges

Type
GIT
Repo
https://github.com/latchset/jwcrypto
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.5.0

Other

untagged-23c3bb2e13ea18af9c56
untagged-59ed3e1fb9835e30c994

v0.*

v0.1.0
v0.2.0
v0.2.1
v0.3.0
v0.3.1
v0.4.0
v0.4.1
v0.4.2
v0.5.0
v0.6.0
v0.7.0
v0.8.0
v0.9.0
v0.9.1

v1.*

v1.0.0
v1.0.0.sig
v1.1.0
v1.2.0
v1.3.0
v1.3.1
v1.4.0
v1.4.1
v1.4.2
v1.5.0
v1.5.1
v1.5.2
v1.5.3
v1.5.4
v1.5.5