cve.bz

CVE-2025-25290 octokit request.js

5.3 mediumEPSS 0.8%Fix available

Medium (5.3) in octokit request.js. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in @octokit/request 8.4.1, 9.2.1.

On this page
@octokit/request sends parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node. Starting in version 1.0.0 and prior to versions 9.2.1 and 8.4.1, the regular expression `/<([^>]+)>; rel="deprecation"/` used to match the `link` header in HTTP responses is vulnerable to a ReDoS (Regular Expression Denial of Service) attack. This vulnerability arises due to the unbounded nature of the regex's matching behavior, which can lead to catastrophic backtracking when processing specially crafted input. An attacker could exploit this flaw by sending a malicious `link` header, resulting in excessive CPU usage and potentially causing the server to become unresponsive, impacting service availability. Versions 9.2.1 and 8.4.1 fix the issue.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-02-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • @octokit/request (npm): fixed in 9.2.1, 8.4.1

Ask an AI about this CVE

Show the promptExplain CVE-2025-25290 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-25290?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-25290?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-25290 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
octokit request.js>= 1.0.0, < 9.2.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rmvr-2pp2-xj38npm@octokit/request>=9.0.0-beta.1 <9.2.19.2.1
GHSA-rmvr-2pp2-xj38npm@octokit/request>=1.0.0 <8.4.18.4.1

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Will not fix
Multicluster Engine for Kubernetesmulticluster-engine/multicluster-engine-console-mce-rhel9Will not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-rhel8Will not fix
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Will not fix
Red Hat Integration Camel K 1io.apicurio-apicurio-registryWill not fix
Red Hat JBoss Enterprise Application Platform Expansion Packorg.keycloak-keycloak-parentNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-consoleWill not fix
Red Hat OpenShift Dev Spacesdevspaces/code-rhel8Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-25290.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON