Advisory

PYSEC-2025-185

Also known as: CVE-2024-29370, GHSA-h4pw-wxh7-4vjj

Summary

The record has no summary.

Details

In python-jose 3.3.0 (specifically jwe.decrypt), a vulnerability allows an attacker to cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. When this token is processed by the server, it results in significant memory allocation and processing time during decompression.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2025-12-17 16:16 UTC
Modified
2026-06-10 17:11 UTC

Affected packages and fixes

python-jose

PyPI · All systems

Affected

  • introduced 0, last affected 3.3.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences