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 :
Nov. 21, 2024, 9:05 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the affected python3-jwcrypto packages.
- Update the affected packages.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-28102.
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:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-28102
weaknesses.
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.
-
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