6.8
MEDIUM CVSS 3.1
CVE-2024-28102
JWCrypto vulnerable to JWT bomb Attack in `deserialize` function
Description

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.

INFO

Published Date :

March 21, 2024, 2:52 a.m.

Last Modified :

Dec. 22, 2025, 4:09 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-28102 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Latchset jwcrypto
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Update the python3-jwcrypto packages to address a denial of service vulnerability.
  • Update the affected python3-jwcrypto packages.
  • Update the affected packages.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-28102 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-28102 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-28102 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Dec. 22, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:latchset:jwcrypto:*:*:*:*:*:*:*:* versions up to (excluding) 1.5.6
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
    Added Reference Type GitHub, Inc.: https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97 Types: Exploit, Vendor Advisory
    Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2024/09/msg00026.html Types: Mailing List, Third Party Advisory
    Added Reference Type CVE: https://www.vicarius.io/vsociety/posts/denial-of-service-vulnerability-discovered-in-jwcrypto-cve-2024-28102-28103 Types: Exploit, Press/Media Coverage, Technical Description
    Added Reference Type CVE: https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97 Types: Exploit, Vendor Advisory
    Added Reference Type CVE: https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f Types: Patch
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f
    Added Reference https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97
    Added Reference https://lists.debian.org/debian-lts-announce/2024/09/msg00026.html
    Added Reference https://www.vicarius.io/vsociety/posts/denial-of-service-vulnerability-discovered-in-jwcrypto-cve-2024-28102-28103
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by [email protected]

    Mar. 21, 2024

    Action Type Old Value New Value
    Added Description 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.
    Added Reference GitHub, Inc. https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f [No types assigned]
    Added CWE GitHub, Inc. CWE-770
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact