CVE-2025-27144

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-27144
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-27144.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-27144
Aliases
Related
Withdrawn
2025-03-17T16:51:17.274805Z
Published
2025-02-24T23:15:11Z
Modified
2025-03-07T05:45:21.717940Z
Downstream
Summary
[none]
Details

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.

References

Affected packages

Debian:13 / golang-github-go-jose-go-jose

Package

Name
golang-github-go-jose-go-jose
Purl
pkg:deb/debian/golang-github-go-jose-go-jose?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0.5-1

Affected versions

3.*

3.0.1-1
3.0.1-2~bpo12+1
3.0.1-2

4.*

4.0.1-1
4.0.1-2
4.0.1-3
4.0.1-4~bpo12+1
4.0.1-4
4.0.2-1~bpo12+1
4.0.2-1
4.0.3-1~bpo12+1
4.0.3-1
4.0.4-1~bpo12+1
4.0.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/go-jose/go-jose

Affected ranges

Type
GIT
Repo
https://github.com/go-jose/go-jose
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v2.*

v2.0.0
v2.0.1
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.1.4
v2.1.5
v2.1.6
v2.1.7
v2.1.8
v2.1.9
v2.2.0
v2.2.1
v2.2.2
v2.3.0
v2.3.1
v2.4.0
v2.4.1
v2.5.0
v2.5.1

v3.*

v3.0.0
v3.0.0-rc.1

v4.*

v4.0.0
v4.0.1
v4.0.2
v4.0.3
v4.0.4