{"id":"UBUNTU-CVE-2024-28102","details":"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.","modified":"2026-01-20T18:37:29.885744Z","published":"2024-03-21T02:52:00Z","upstream":["CVE-2024-28102"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-28102"},{"type":"REPORT","url":"https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97"},{"type":"REPORT","url":"https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-28102"}],"affected":[{"package":{"name":"python-jwcrypto","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-jwcrypto@0.2.1-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-jwcrypto","binary_version":"0.2.1-1"},{"binary_name":"python3-jwcrypto","binary_version":"0.2.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"}},{"package":{"name":"python-jwcrypto","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-jwcrypto@0.4.2-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.2-1","0.4.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-jwcrypto","binary_version":"0.4.2-1"},{"binary_name":"python3-jwcrypto","binary_version":"0.4.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"}},{"package":{"name":"python-jwcrypto","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-jwcrypto@0.6.0-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.0-1","0.6.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-jwcrypto","binary_version":"0.6.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"}},{"package":{"name":"python-jwcrypto","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-jwcrypto@1.0.0-2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.0-1","1.0.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-jwcrypto","binary_version":"1.0.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"}},{"package":{"name":"python-jwcrypto","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-jwcrypto@1.5.4-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0-1","1.5.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-jwcrypto","binary_version":"1.5.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"}},{"package":{"name":"python-jwcrypto","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/python-jwcrypto@1.5.6-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-jwcrypto","binary_version":"1.5.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}