{"answers":{"affected":"3 open source packages ship an affected version, including jwcrypto. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-28102 exists.","fix":"Upgrade jwcrypto to 1.5.6 or later.","what":"CVE-2024-28102 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 6 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-28102 and fix it if it is affected.\n\nWhat it is: CVE-2024-28102 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 6 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-28102 exists.\n\nAffected packages and fixed versions:\n- jwcrypto (PyPI): affected all versions; fixed in 1.5.6\n- jwcrypto (PyPI): affected all versions; fixed in 1.5.6\n- jwcrypto (PyPI): affected all versions; fixed in 1.5.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-28102/ (Markdown: https://insights.sbomify.com/CVE-2024-28102/index.md)","id":"CVE-2024-28102","markdown":"https://insights.sbomify.com/CVE-2024-28102/index.md","name":"CVE-2024-28102","record":{"aliases":["ALSA-2024:2559","AZL-43360","AZL-43366","DEBIAN-CVE-2024-28102","DLA-3883-1","GHSA-j857-7rvv-vj97","OESA-2024-2444","OESA-2025-1163","PYSEC-2026-1484","RHSA-2024:2559","RLSA-2024:2559","ROOT-APP-PYPI-CVE-2024-28102","UBUNTU-CVE-2024-28102","openSUSE-SU-2024:13798-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python JWCrypto library","requires_auth":"high_privilege","summary":"An attacker can cause a denial of service by sending a malicious JWE token with high compression, exhausting server memory and processing time.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"jwcrypto","vendor":"latchset"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"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.","ecosystems":["AlmaLinux:9","PyPI","Red Hat:enterprise_linux:9::appstream","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"JWCrypto vulnerable to JWT bomb Attack in `deserialize` function","id":"CVE-2024-28102","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"denial_of_service","year":"2024"},"n_packages":7,"n_references":2,"next":{"headline":"Action Pack is missing security headers on non-HTML responses","id":"CVE-2024-28103"},"packages":[{"ecosystem":"PyPI","fixed":["1.5.6"],"introduced":["0"],"last_affected":[],"package":"jwcrypto","purl":null,"source":"GHSA-j857-7rvv-vj97"},{"ecosystem":"PyPI","fixed":["1.5.6"],"introduced":["0"],"last_affected":[],"package":"jwcrypto","purl":"pkg:pypi/jwcrypto","source":"GHSA-j857-7rvv-vj97"},{"ecosystem":"PyPI","fixed":["1.5.6"],"introduced":["0"],"last_affected":[],"package":"jwcrypto","purl":"pkg:pypi/jwcrypto","source":"PYSEC-2026-1484"},{"ecosystem":"AlmaLinux:9","fixed":["0.8-5.el9_4"],"introduced":["0"],"last_affected":[],"package":"python3-jwcrypto","purl":"pkg:rpm/almalinux/python3-jwcrypto","source":"ALSA-2024:2559"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.8-5.el9_4"],"introduced":["0"],"last_affected":[],"package":"python-jwcrypto","purl":"pkg:rpm/redhat/python-jwcrypto","source":"RHSA-2024:2559"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.8-5.el9_4"],"introduced":["0"],"last_affected":[],"package":"python3-jwcrypto","purl":"pkg:rpm/redhat/python3-jwcrypto","source":"RHSA-2024:2559"},{"ecosystem":"Rocky Linux:9","fixed":["0:0.8-5.el9_4"],"introduced":["0"],"last_affected":[],"package":"python-jwcrypto","purl":"pkg:rpm/rocky-linux/python-jwcrypto?distro=rocky-linux-9-x86-64\u0026epoch=0","source":"RLSA-2024:2559"}],"prev":{"headline":"Apollo Router's Compressed Payloads do not respect HTTP Payload Limits","id":"CVE-2024-28101"},"products":["jwcrypto"],"published":"2024-03-06","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-09","vendors":["latchset"]},"summary":"An attacker can cause a denial of service by sending a malicious JWE token with high compression, exhausting server memory and processing time.","url":"https://insights.sbomify.com/CVE-2024-28102/"}