Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. jwcrypto
  4. ›
  5. CVE-2024-28102

CVE-2024-28102: JWCrypto vulnerable to JWT bomb Attack in `deserialize` function

March 6, 2024 (updated December 22, 2025)

An attacker can cause a DoS 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.

References

  • github.com/advisories/GHSA-j857-7rvv-vj97
  • github.com/latchset/jwcrypto
  • github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f
  • github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97
  • lists.debian.org/debian-lts-announce/2024/09/msg00026.html
  • nvd.nist.gov/vuln/detail/CVE-2024-28102
  • www.vicarius.io/vsociety/posts/denial-of-service-vulnerability-discovered-in-jwcrypto-cve-2024-28102-28103

Code Behaviors & Features

Detect and mitigate CVE-2024-28102 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.5.6

Fixed versions

  • 1.5.6

Solution

Upgrade to version 1.5.6 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/jwcrypto/CVE-2024-28102.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:20 +0000.