Medium severity5.3OSV Advisory· Published Feb 14, 2025· Updated Apr 15, 2026
CVE-2025-25285
CVE-2025-25285
Description
@octokit/endpoint turns REST API endpoints into generic request options. Starting in version 4.1.0 and prior to version 10.1.3, by crafting specific options parameters, the endpoint.parse(options) call can be triggered, leading to a regular expression denial-of-service (ReDoS) attack. This causes the program to hang and results in high CPU utilization. The issue occurs in the parse function within the parse.ts file of the npm package @octokit/endpoint. Version 10.1.3 contains a patch for the issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@octokit/endpointnpm | >= 9.0.5, < 9.0.6 | 9.0.6 |
@octokit/endpointnpm | >= 10.0.0, < 10.1.3 | 10.1.3 |
Affected products
4- Range: v10.0.0, v10.0.1, v10.1.0, …
- osv-coords3 versions
< 39.174.0-r0+ 2 more
- (no CPE)range: < 39.174.0-r0
- (no CPE)range: < 39.174.0-r0
- (no CPE)range: >= 9.0.5, < 9.0.6
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-x4c5-c7rf-jjgvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-25285ghsaADVISORY
- github.com/octokit/endpoint.js/blob/main/src/parse.tsnvdWEB
- github.com/octokit/endpoint.js/commit/6c9c5be033c450d436efb37de41b6470c22f7db8nvdWEB
- github.com/octokit/endpoint.js/security/advisories/GHSA-x4c5-c7rf-jjgvnvdWEB
News mentions
0No linked articles in our index yet.