PT-2024-2050 · Go Jose+8 · Go-Jose+8
Chenjj
+1
·
Published
2024-03-07
·
Updated
2026-02-26
·
CVE-2024-28180
CVSS v3.1
4.3
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
go-jose versions prior to 2.6.3
go-jose versions prior to 3.0.3
go-jose versions prior to 4.0.1
Description
The issue is related to the incorrect handling of highly compressed input data in the go-jose package, which implements the Javascript Object Signing and Encryption set of standards. An attacker could send a JWE containing compressed data that uses large amounts of memory and CPU when decompressed by
Decrypt or DecryptMulti functions. These functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger).Recommendations
For versions prior to 2.6.3, update to version 2.6.3 or later.
For versions prior to 3.0.3, update to version 3.0.3 or later.
For versions prior to 4.0.1, update to version 4.0.1 or later.
As a temporary workaround, consider restricting the use of the
Decrypt and DecryptMulti functions until a patch is available.Exploit
Fix
DoS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Centos
Debian
Red Hat
Red Os
Rocky Linux
Suse
Go-Jose