CVE-2025-22868

Unexpected memory consumption during token parsing in golang.org/x/oauth2

Published Feb 26, 2025 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-5341 golang.org/x/oauth2 Improper Validation of Syntactic Correctness of Input vulnerability
Github GHSA Github GHSA GHSA-6v2p-p543-phr9 golang.org/x/oauth2 Improper Validation of Syntactic Correctness of Input vulnerability
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.14::el8
Type Values Removed Values Added
First Time appeared Redhat openshift Api Data Protection
CPEs cpe:/a:redhat:openshift_api_data_protection:1.3::el9
Vendors & Products Redhat openshift Api Data Protection
Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.10::el9
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.19::el9
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_distributed_tracing:3.6::el8
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.16::el9
Type Values Removed Values Added
First Time appeared Redhat rhmt
CPEs cpe:/a:redhat:openshift:4.17::el9
cpe:/a:redhat:openshift_data_foundation:4.15::el9
cpe:/a:redhat:rhmt:1.8::el8
Vendors & Products Redhat rhmt
Type Values Removed Values Added
CPEs cpe:/a:redhat:multicluster_engine:2.4::el8
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_gitops:1.14::el8
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.18::el9
Type Values Removed Values Added
First Time appeared Redhat openshift Gitops
CPEs cpe:/a:redhat:openshift_gitops:1.15::el8
Vendors & Products Redhat openshift Gitops
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.0
Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.11::el9
Type Values Removed Values Added
CPEs cpe:/a:redhat:multicluster_engine:2.6::el8
cpe:/a:redhat:multicluster_engine:2.6::el9
Type Values Removed Values Added
First Time appeared Redhat openshift Data Foundation
CPEs cpe:/a:redhat:multicluster_engine:2.5::el8
cpe:/a:redhat:openshift_data_foundation:4.18::el9
Vendors & Products Redhat openshift Data Foundation
Type Values Removed Values Added
First Time appeared Go
Go jws
CPEs cpe:2.3:a:go:jws:*:*:*:*:*:go:*:*
Vendors & Products Go
Go jws
Type Values Removed Values Added
CPEs cpe:/a:redhat:multicluster_engine:2.7::el8
cpe:/a:redhat:multicluster_engine:2.7::el9
Type Values Removed Values Added
First Time appeared Redhat openshift
CPEs cpe:/a:redhat:acm:2.12::el9
cpe:/a:redhat:openshift:4.15::el9
Vendors & Products Redhat openshift
Type Values Removed Values Added
First Time appeared Redhat openshift Ai
Redhat openshift Devspaces
CPEs cpe:/a:redhat:openshift_ai:2.19::el8
cpe:/a:redhat:openshift_devspaces:3::el9
Vendors & Products Redhat openshift Ai
Redhat openshift Devspaces
Type Values Removed Values Added
CPEs cpe:/a:redhat:multicluster_globalhub:1.3::el9
Type Values Removed Values Added
First Time appeared Redhat trusted Artifact Signer
CPEs cpe:/a:redhat:trusted_artifact_signer:1.1::el9
Vendors & Products Redhat trusted Artifact Signer
Type Values Removed Values Added
First Time appeared Redhat openshift Distributed Tracing
CPEs cpe:/a:redhat:openshift_distributed_tracing:3.5::el8
Vendors & Products Redhat openshift Distributed Tracing
Type Values Removed Values Added
First Time appeared Redhat multicluster Engine
CPEs cpe:/a:redhat:multicluster_engine:2.8::el8
cpe:/a:redhat:multicluster_engine:2.8::el9
Vendors & Products Redhat multicluster Engine
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.4
Vendors & Products Redhat rhel Eus
Type Values Removed Values Added
First Time appeared Redhat cryostat
CPEs cpe:/a:redhat:cryostat:4::el9
Vendors & Products Redhat cryostat
Type Values Removed Values Added
First Time appeared Redhat multicluster Globalhub
Redhat openshift Custom Metrics Autoscaler
CPEs cpe:/a:redhat:multicluster_globalhub:1.2::el9
cpe:/a:redhat:openshift_custom_metrics_autoscaler:2.15::el9
Vendors & Products Redhat multicluster Globalhub
Redhat openshift Custom Metrics Autoscaler
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat enterprise Linux
Type Values Removed Values Added
First Time appeared Redhat acm
CPEs cpe:/a:redhat:acm:2.13::el9
Vendors & Products Redhat acm
Type Values Removed Values Added
First Time appeared Redhat gatekeeper
CPEs cpe:/a:redhat:gatekeeper:3.15::el9
cpe:/a:redhat:gatekeeper:3.17::el9
Vendors & Products Redhat gatekeeper
Type Values Removed Values Added
First Time appeared Redhat
Redhat advanced Cluster Security
CPEs cpe:/a:redhat:advanced_cluster_security:4.5::el8
cpe:/a:redhat:advanced_cluster_security:4.6::el8
Vendors & Products Redhat
Redhat advanced Cluster Security
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-1286
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Description An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.
Title Unexpected memory consumption during token parsing in golang.org/x/oauth2
References