Go JOSE provides an implementation of the Javascript Object Signing and Encryption set of standards in Go, including support for JSON Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token (JWT) standards. In versions on the 4.x branch prior to version 4.0.5, when parsing compact JWS or JWE input, Go JOSE could use excessive memory. The code used strings.Split(token, ".") to split JWT tokens, which is vulnerable to excessive memory consumption when processing maliciously crafted tokens with a large number of `.` characters. An attacker could exploit this by sending numerous malformed tokens, leading to memory exhaustion and a Denial of Service. Version 4.0.5 fixes this issue. As a workaround, applications could pre-validate that payloads passed to Go JOSE do not contain an excessive number of `.` characters.
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.18 Via RHSA-2025:3066 https://access.redhat.com/errata/RHSA-2025:3066
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.18 Via RHSA-2025:3068 https://access.redhat.com/errata/RHSA-2025:3068
This issue has been addressed in the following products: RHOL-6.0-RHEL-9 Via RHSA-2025:3132 https://access.redhat.com/errata/RHSA-2025:3132
This issue has been addressed in the following products: RHOL-6.1-RHEL-9 Via RHSA-2025:3131 https://access.redhat.com/errata/RHSA-2025:3131
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.17 Via RHSA-2025:3059 https://access.redhat.com/errata/RHSA-2025:3059
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.17 Via RHSA-2025:3061 https://access.redhat.com/errata/RHSA-2025:3061
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:3335 https://access.redhat.com/errata/RHSA-2025:3335
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.16 Via RHSA-2025:3301 https://access.redhat.com/errata/RHSA-2025:3301
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2025:3593 https://access.redhat.com/errata/RHSA-2025:3593
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.18 Via RHSA-2025:3775 https://access.redhat.com/errata/RHSA-2025:3775
This issue has been addressed in the following products: RHOL-5.9-RHEL-9 Via RHSA-2025:3906 https://access.redhat.com/errata/RHSA-2025:3906
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.18 Via RHSA-2025:4211 https://access.redhat.com/errata/RHSA-2025:4211
This issue has been addressed in the following products: RHODF-4.18-RHEL-9 Via RHSA-2025:4511 https://access.redhat.com/errata/RHSA-2025:4511
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.18 Via RHSA-2025:4427 https://access.redhat.com/errata/RHSA-2025:4427
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:7389 https://access.redhat.com/errata/RHSA-2025:7389
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:7391 https://access.redhat.com/errata/RHSA-2025:7391
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:7397 https://access.redhat.com/errata/RHSA-2025:7397
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:7407 https://access.redhat.com/errata/RHSA-2025:7407
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2025:7459 https://access.redhat.com/errata/RHSA-2025:7459
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2025:7462 https://access.redhat.com/errata/RHSA-2025:7462
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2025:7467 https://access.redhat.com/errata/RHSA-2025:7467
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2025:7479 https://access.redhat.com/errata/RHSA-2025:7479
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.18 Via RHSA-2025:4712 https://access.redhat.com/errata/RHSA-2025:4712
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.17 Via RHSA-2025:7669 https://access.redhat.com/errata/RHSA-2025:7669