UBUNTU-CVE-2025-27144

Source
https://ubuntu.com/security/CVE-2025-27144
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27144.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-27144
Related
Published
2025-02-24T23:15:00Z
Modified
2025-02-26T04:38:46Z
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

Ubuntu:24.10 / golang-github-go-jose-go-jose

Package

Name
golang-github-go-jose-go-jose
Purl
pkg:deb/ubuntu/golang-github-go-jose-go-jose@4.0.3-1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0.1-4
4.0.2-1
4.0.3-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / golang-github-go-jose-go-jose

Package

Name
golang-github-go-jose-go-jose
Purl
pkg:deb/ubuntu/golang-github-go-jose-go-jose@4.0.1-4ubuntu0.2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0.1-1
3.0.1-2

4.*

4.0.1-4
4.0.1-4ubuntu0.1
4.0.1-4ubuntu0.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}