VDB

CVE-2024-28102

CVE-2024-28102 PUBLISHED CVSS 6.8 MEDIUM

JWCrypto vulnerable to JWT bomb Attack in `deserialize` function

Reported by github_m · Published March 6, 2024

jwcrypto is fixed in 1.5.6 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
jwcryptoPyPI1.5.6
py3-jwcryptoChainguard1.5.6-r0
py3-jwcryptoWolfi1.5.6-r0
python-jwcryptoAmazon Linux0.4.2-1.amzn2.0.2
jwcryptolatchset1.5.6

Risk scores

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

Affected products

VendorProductVersions
latchsetjwcrypto< 1.5.6
latchsetjwcrypto0
chainguardpy3-jwcrypto0
wolfipy3-jwcrypto0
amazon:2python-jwcrypto0
latchsetjwcrypto0
PyPIjwcrypto0

Timeline

  • Mar 6, 2024 CVE Published
  • Mar 7, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (10 in total, the first dated here)
  • Jan 14, 2026 Security Advisory (29 in total, the first dated here)
  • Nov 22, 2026 Distribution Patch (24 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-28102
vulnetix vdb fixes CVE-2024-28102

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-28102/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›