Skip to content

CVE-2025-27144 Go JOSE's Parsing Vulnerable to Denial of Service

MediumCVSS 6.6 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
KubernetesUbuntuDebian

Description

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.

Upgrade path

36 packages: 30 fixed, 1 partially fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
square github.com/square/go-jose(Go) All versions No fix listed No fix yet
ubuntu/golang-github-go-jose-go-jose(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/golang-github-go-jose-go-jose(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/golang-github-go-jose-go-jose(Ubuntu 26.10) All versions No fix listed No fix yet
go-jose(Go) < 3.0.4; < 4.0.5; All versions 3.0.4, 4.0.5 Partially fixed
azure linux cert-manager(Azure Linux 3.0) < 1.12.15-2 1.12.15-2 Fixed
azure linux containerd(Azure Linux 3.0) < 1.7.13-7 1.7.13-7 Fixed
azure linux containerd2(Azure Linux 3.0) < 2.0.0-6 2.0.0-6 Fixed
azure linux containerized-data-importer(Azure Linux 3.0) < 1.57.0-13 1.57.0-13 Fixed
azure linux dcos-cli(Azure Linux 3.0) < 1.2.0-17 1.2.0-17 Fixed
azure linux gh(Azure Linux 3.0) < 2.62.0-7 2.62.0-7 Fixed
azure linux ig(Azure Linux 3.0) < 0.37.0-2 0.37.0-2 Fixed
azure linux influxdb(Azure Linux 3.0) < 2.7.5-2 2.7.5-2 Fixed
azure linux keda(Azure Linux 3.0) < 2.14.1-3 2.14.1-3 Fixed
azure linux moby-containerd-cc(Azure Linux 3.0) < 1.7.7-9 1.7.7-9 Fixed
azure linux packer(Azure Linux 3.0) < 1.9.5-6 1.9.5-6 Fixed
azure linux skopeo(Azure Linux 3.0) < 1.14.4-4 1.14.4-4 Fixed
azure linux telegraf(Azure Linux 3.0) < 1.31.0-8 1.31.0-8 Fixed
cbl-mariner cert-manager(CBL-Mariner 2.0) < 1.11.2-19 1.11.2-19 Fixed
cbl-mariner containerized-data-importer(CBL-Mariner 2.0) < 1.55.0-23 1.55.0-23 Fixed
cbl-mariner cri-o(CBL-Mariner 2.0) < 1.22.3-12 1.22.3-12 Fixed
cbl-mariner dcos-cli(CBL-Mariner 2.0) < 1.2.0-20 1.2.0-20 Fixed
cbl-mariner influxdb(CBL-Mariner 2.0) < 2.6.1-21 2.6.1-21 Fixed
cbl-mariner keda(CBL-Mariner 2.0) < 2.4.0-27 2.4.0-27 Fixed
cbl-mariner kube-vip-cloud-provider(CBL-Mariner 2.0) < 0.0.2-20 0.0.2-20 Fixed
cbl-mariner moby-containerd(CBL-Mariner 2.0) < 1.6.26-10 1.6.26-10 Fixed
cbl-mariner moby-containerd-cc(CBL-Mariner 2.0) < 1.7.7-11 1.7.7-11 Fixed
cbl-mariner packer(CBL-Mariner 2.0) < 1.9.5-9 1.9.5-9 Fixed
cbl-mariner rook(CBL-Mariner 2.0) < 1.6.2-25 1.6.2-25 Fixed
cbl-mariner skopeo(CBL-Mariner 2.0) < 1.14.2-10 1.14.2-10 Fixed

… and 6 more packages.

Affected products

ProductAffected versionsFixed in
go-jose(Go) < 4.0.5 4.0.5
go-jose(Go) < 3.0.4 3.0.4
go-jose(Go) All versions No fix listed
square github.com/square/go-jose(Go) All versions No fix listed
azure linux skopeo(Azure Linux:3.0) < 1.14.4-4 1.14.4-4
cbl-mariner influxdb(CBL-Mariner:2.0) < 2.6.1-21 2.6.1-21
azure linux ig(Azure Linux:3.0) < 0.37.0-2 0.37.0-2
cbl-mariner kube-vip-cloud-provider(CBL-Mariner:2.0) < 0.0.2-20 0.0.2-20
azure linux cert-manager(Azure Linux:3.0) < 1.12.15-2 1.12.15-2
azure linux influxdb(Azure Linux:3.0) < 2.7.5-2 2.7.5-2
azure linux containerized-data-importer(Azure Linux:3.0) < 1.57.0-13 1.57.0-13
azure linux containerd2(Azure Linux:3.0) < 2.0.0-6 2.0.0-6
cbl-mariner cert-manager(CBL-Mariner:2.0) < 1.11.2-19 1.11.2-19
cbl-mariner packer(CBL-Mariner:2.0) < 1.9.5-9 1.9.5-9
azure linux telegraf(Azure Linux:3.0) < 1.31.0-8 1.31.0-8
cbl-mariner telegraf(CBL-Mariner:2.0) < 1.29.4-12 1.29.4-12
cbl-mariner containerized-data-importer(CBL-Mariner:2.0) < 1.55.0-23 1.55.0-23
Kubernetes(CBL-Mariner:2.0) < 1.28.4-15 1.28.4-15
cbl-mariner skopeo(CBL-Mariner:2.0) < 1.14.2-10 1.14.2-10
cbl-mariner rook(CBL-Mariner:2.0) < 1.6.2-25 1.6.2-25
cbl-mariner moby-containerd-cc(CBL-Mariner:2.0) < 1.7.7-11 1.7.7-11
cbl-mariner dcos-cli(CBL-Mariner:2.0) < 1.2.0-20 1.2.0-20
cbl-mariner keda(CBL-Mariner:2.0) < 2.4.0-27 2.4.0-27
cbl-mariner cri-o(CBL-Mariner:2.0) < 1.22.3-12 1.22.3-12
cbl-mariner moby-containerd(CBL-Mariner:2.0) < 1.6.26-10 1.6.26-10
Show 13 more
ProductAffected versionsFixed in
azure linux packer(Azure Linux:3.0) < 1.9.5-6 1.9.5-6
azure linux keda(Azure Linux:3.0) < 2.14.1-3 2.14.1-3
azure linux containerd(Azure Linux:3.0) < 1.7.13-7 1.7.13-7
azure linux gh(Azure Linux:3.0) < 2.62.0-7 2.62.0-7
azure linux moby-containerd-cc(Azure Linux:3.0) < 1.7.7-9 1.7.7-9
Kubernetes(Azure Linux:3.0) < 1.30.10-3 1.30.10-3
azure linux dcos-cli(Azure Linux:3.0) < 1.2.0-17 1.2.0-17
debian/golang-github-go-jose-go-jose(Debian:13) < 4.0.5-1 4.0.5-1
debian/golang-github-go-jose-go-jose(Debian:14) < 4.0.5-1 4.0.5-1
go-jose = >= 4.0.0, < 4.0.5 No fix listed
ubuntu/golang-github-go-jose-go-jose(Ubuntu:24.04) All versions No fix listed
ubuntu/golang-github-go-jose-go-jose(Ubuntu:26.04) All versions No fix listed
ubuntu/golang-github-go-jose-go-jose(Ubuntu:26.10) All versions No fix listed

References