{"id":"CVE-2024-28180","summary":"Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)","details":"Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). This vulnerability has been patched in versions 4.0.1, 3.0.3 and 2.6.3.","aliases":["GHSA-c5q2-7r4c-mv6g","GO-2024-2631"],"modified":"2026-11-11T01:12:02.653235316Z","published":"2024-03-09T00:54:46.382Z","related":["ALSA-2024:2549","ALSA-2024:3254","ALSA-2024:3826","ALSA-2024:3827","ALSA-2024:3968","RLSA-2024:3254","SUSE-SU-2024:1987-1","SUSE-SU-2024:1987-2","SUSE-SU-2024:2754-1","SUSE-SU-2024:3120-1","SUSE-SU-2024:3151-1","SUSE-SU-2024:3186-1","SUSE-SU-2025:0066-1","SUSE-SU-2025:0622-1","SUSE-SU-2025:0623-1","SUSE-SU-2025:0624-1","SUSE-SU-2025:20019-1","openSUSE-SU-2024:13905-1","openSUSE-SU-2024:13952-1","openSUSE-SU-2025:14618-1","openSUSE-SU-2025:14663-1","openSUSE-SU-2025:15305-1","openSUSE-SU-2025:15529-1","openSUSE-SU-2026:20654-1","openSUSE-SU-2026:20730-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-409"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28180.json"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GD2GSBQTBLYADASUBHHZV2CZPTSLIPQJ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I6MMWFBOXJA6ZCXNVPDFJ4XMK5PVG5RG/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IJ6LAJJ2FTA2JVVOACCV5RZTOIZLXUNJ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JNPMXL36YGS3GQEVI3Q5HKHJ7YAAQXL5/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KXKGNCRU7OTM5AHC7YIYBNOWI742PRMY/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MSOMHDKRPU3A2JEMRODT2IREDFBLVPGS/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UG5FSEYJ3GP27FZXC5YAAMMEC5XWKJHG/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UJO2U5ACZVACNQXJ5EBRFLFW6DP5BROY/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XJDO5VSIAOGT2WP63AXAAWNRSVJCNCRH/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28180.json"},{"type":"ADVISORY","url":"https://github.com/go-jose/go-jose/security/advisories/GHSA-c5q2-7r4c-mv6g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28180"},{"type":"FIX","url":"https://github.com/go-jose/go-jose/commit/0dd4dd541c665fb292d664f77604ba694726f298"},{"type":"FIX","url":"https://github.com/go-jose/go-jose/commit/add6a284ea0f844fd6628cba637be5451fe4b28a"},{"type":"FIX","url":"https://github.com/go-jose/go-jose/commit/f4c051a0653d78199a053892f7619ebf96339502"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/go-jose/go-jose","events":[{"introduced":"8c5257b2f658f86d174ae68c6a592eaf6a9608d9"},{"fixed":"0dd4dd541c665fb292d664f77604ba694726f298"},{"introduced":"a563785af9481120d75c419acf7bdd86a07cc1f1"},{"fixed":"add6a284ea0f844fd6628cba637be5451fe4b28a"},{"introduced":"2658f467ede28af28a7883041677ff460dda3f69"},{"fixed":"f4c051a0653d78199a053892f7619ebf96339502"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:go-jose_project:go-jose:*:*:*:*:*:*:*:*","range":[{"introduced":"2.0.0"},{"fixed":"2.6.3"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:go-jose_project:go-jose:*:*:*:*:*:*:*:*","range":[{"introduced":"3.0.0"},{"fixed":"3.0.3"}],"source":"CPE_RANGE"},{"range":[{"introduced":"4.0.0"},{"fixed":"4.0.1"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:go-jose_project:go-jose:*:*:*:*:*:*:*:*"},{"range":[{"fixed":"0dd4dd541c665fb292d664f77604ba694726f298"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"add6a284ea0f844fd6628cba637be5451fe4b28a"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"f4c051a0653d78199a053892f7619ebf96339502"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v2.6.2","v3.0.2","v4.0.0","v2.6.1","v3.0.0-rc.1","v3.0.0","v2.5.1","v2.5.0","v2.4.1","v2.4.0","v2.3.1","v2.3.0","v2.2.2","v2.2.1","v2.2.0","v2.1.9","v2.1.8","v2.1.7","v2.1.6","v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.1.0","v2.0.1","v2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-28180.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"}]}