{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-25285","id":"CVE-2025-25285","title":"@octokit/endpoint has a Regular Expression in parse that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking","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 ","descriptionLong":"@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.","published":"2025-02-14T19:31:44.827Z","updated":"2026-10-28T02:30:38.908681562Z","reserved":"2025-02-06T17:13:33.121Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["octokit endpoint.js"],"affectedProducts":[{"vendor":"octokit","product":"endpoint.js","defaultStatus":null,"versions":[{"version":">= 4.1.0, < 10.1.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@octokit/endpoint","purl":"pkg:npm/%40octokit/endpoint","ranges":[">=9.0.5 <9.0.6",">=10.0.0 <10.1.3"],"fixed":["9.0.6","10.1.3"],"advisory":"GHSA-x4c5-c7rf-jjgv"}],"cwes":["CWE-1333"],"aliases":["GHSA-x4c5-c7rf-jjgv"],"references":[{"url":"https://github.com/octokit/endpoint.js/security/advisories/GHSA-x4c5-c7rf-jjgv","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/octokit/endpoint.js/commit/6c9c5be033c450d436efb37de41b6470c22f7db8","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/octokit/endpoint.js/blob/main/src/parse.ts","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25285.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25285","tags":["advisory"]},{"url":"https://github.com/octokit/endpoint.js","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00628,"epssPercentile":0.50876,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-25285","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25285","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-25285","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x4c5-c7rf-jjgv","ok":true,"note":"GHSA-x4c5-c7rf-jjgv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-25285","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}