NetSight
mittel4.3

CVE-2024-28180

Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)

Auswirkung

### Impact 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). Thanks to Enze Wang@Alioth and Jianjun Chen@Zhongguancun Lab (@zer0yu and @chenjj) for reporting. ### Patches The problem is fixed in the following packages and versions: - github.com/go-jose/go-jose/v4 version 4.0.1 - github.com/go-jose/go-jose/v3 version 3.0.3 - gopkg.in/go-jose/go-jose.v2 version 2.6.3 The problem will not be fixed in the following package because the package is archived: - gopkg.in/square/go-jose.v2

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
gogithub.com/go-jose/go-jose/v4< 4.0.14.0.1
gogithub.com/go-jose/go-jose/v3< 3.0.33.0.3
gogopkg.in/go-jose/go-jose.v2< 2.6.32.6.3
gogopkg.in/square/go-jose.v2<= 2.6.0nicht erfasst

Betroffene Produkte

HerstellerProduktBetroffene VersionenBehoben durch
FedoraprojectFedora
ab 38 bis einschließlich 40
Kein Hersteller-Update aufgeführt
Go-jose ProjectGo-jose
ab 2.0.0 vor 2.6.3
ab 3.0.0 vor 3.0.3
ab 4.0.0 vor 4.0.1
Kein Hersteller-Update aufgeführt
MicrosoftAzure Linux 3.0 ARMOnlinedienstVom Hersteller behoben, nichts zu tun
MicrosoftAzure Linux 3.0 x64OnlinedienstVom Hersteller behoben, nichts zu tun

Schwachstellenklasse

Referenzen