CVE-2025-22868
Unexpected memory consumption during token parsing in golang.org/x/oauth2
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.
A flaw was found in the `golang.org/x/oauth2/jws` package in the token parsing component. This vulnerability is made possible because of the use of `strings.Split(token, ".")` to split JWT tokens, which can lead to excessive memory consumption when processing maliciously crafted tokens with a large number of `.` characters. An attacker could exploit this functionality by sending numerous malformed tokens and can trigger memory exhaustion and a Denial of Service.
VolSync v0.12 general availability release images, which provide enhancements, security fixes, and updated container images. Issues addressed include a denial of service vulnerability.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2025-01-08 CVE Reserved
- 2025-02-26 CVE Published
- 2025-02-26 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-1286: Improper Validation of Syntactic Correctness of Input
CAPEC
References (5)
URL | Tag | Source |
---|---|---|
https://go.dev/cl/652155 | ||
https://go.dev/issue/71490 | ||
https://pkg.go.dev/vuln/GO-2025-3488 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2025-22868 | 2025-04-02 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2348366 | 2025-04-02 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Golang.org/x/oauth2 Search vendor "Golang.org/x/oauth2" | Golang.org/x/oauth2/jws Search vendor "Golang.org/x/oauth2" for product "Golang.org/x/oauth2/jws" | < 0.27.0 Search vendor "Golang.org/x/oauth2" for product "Golang.org/x/oauth2/jws" and version " < 0.27.0" | en |
Affected
|