{"schemaVersion":3,"id":"CVE-2025-25285","aliases":["CGA-cmvq-59f3-fj8c","CGA-f5hh-m6gw-j22h","GHSA-x4c5-c7rf-jjgv"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-02-14T19:31:44.827Z","modified":"2025-02-14T19:44:09.952Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00628,"percentile":0.49366,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00628},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00628,"percentile":0.49366}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00628,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00628,"percentile":0.49366}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.html"}],"affected":[{"vendor":"chainguard","product":"renovate","name":"renovate","label":"renovate","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/renovate","purlType":"apk","versions":[{"text":"< 39.174.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 39.174.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"renovate","name":"renovate","label":"renovate","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/renovate","purlType":"apk","versions":[{"text":"< 39.174.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 39.174.0-r0","eol":null,"hubHref":null},{"vendor":"@octokit","product":"endpoint","name":"@octokit/endpoint","label":"endpoint","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@octokit/endpoint","purlType":"npm","versions":[{"text":"≥ 9.0.5, < 9.0.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.0.0, < 10.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 9.0.5, < 9.0.6 | ≥ 10.0.0, < 10.1.3","eol":null,"hubHref":null},{"vendor":"octokit","product":"endpoint.js","name":"endpoint.js","label":"endpoint.js","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.1.0, < 10.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.1.0, < 10.1.3","eol":null,"hubHref":"/vendor/octokit/endpointjs"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/octokit/endpoint.js/security/advisories/GHSA-x4c5-c7rf-jjgv","label":"github.com/octokit/endpoint.js/security/advisories/GHSA-x4c5-c7rf-jjgv","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB"]},{"url":"https://github.com/octokit/endpoint.js/commit/6c9c5be033c450d436efb37de41b6470c22f7db8","label":"github.com/octokit/endpoint.js/commit/6c9c5be033c450d436efb37de41b6470c22f7db8","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/octokit/endpoint.js/blob/main/src/parse.ts","label":"github.com/octokit/endpoint.js/blob/main/src/parse.ts","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25285.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25285.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25285","label":"nvd.nist.gov/vuln/detail/CVE-2025-25285","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/octokit/endpoint.js","label":"github.com/octokit/endpoint.js","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-7CR5-25MQ-FVPC","CGA-8JWX-7JW2-Q7R7"]},"timeline":[{"kind":"published","date":"2025-02-14T19:31:44.827Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-14T19:44:09.952Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T20:11:00.826Z","stale":false,"partial":false}}