{"id":"CVE-2023-50728","aliases":["CVE-2023-50728","GHSA-pwfr-8pq7-x9qv"],"related":[],"kind":"vulnerability","state":"published","title":"Unauthenticated Denial of Service in the octokit/webhooks library","summary":"octokit/webhooks is a GitHub webhook events toolset for Node.js. Starting in 9.26.0 and prior to 9.26.3, 10.9.2, 11.1.2, and 12.0.4, there is a problem caused by an issue with error handling in the @octokit/webhooks library because the error can be undefined in some cases. The resulting request was found to cause an uncaught exception that ends the nodejs process.  The bug is fixed in octokit/webhooks.js 9.26.3, 10.9.2, 11.1.2, and 12.0.4, app.js 14.02, octokit.js 3.1.2, and Protobot 12.3.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"octokit/webhooks is a GitHub webhook events toolset for Node.js. Starting in 9.26.0 and prior to 9.26.3, 10.9.2, 11.1.2, and 12.0.4, there is a problem caused by an issue with error handling in the @octokit/webhooks library because the error can be undefined in some cases. The resulting request was found to cause an uncaught exception that ends the nodejs process.  The bug is fixed in octokit/webhooks.js 9.26.3, 10.9.2, 11.1.2, and 12.0.4, app.js 14.02, octokit.js 3.1.2, and Protobot 12.3.3.","source":"cvelist"},{"lang":"en","text":"### Impact\nVersions [v9.26.0](https://github.com/octokit/webhooks.js/releases/tag/v9.26.0), [v10.9.x](https://github.com/octokit/webhooks.js/releases/tag/v10.9.1)), [v11.1.x](https://github.com/octokit/webhooks.js/releases/tag/v11.1.1), [v12.0.x](https://github.com/octokit/webhooks.js/releases/tag/v12.0.3) all contained the code that would throw the error.\n\nSpecifically, during a pentest we encountered a bug in the octokit/webhooks library (a dependency of Probot, a framework for building Github Apps). The resulting request was found to cause an uncaught exception that ends the nodejs process.\n\nThe problem is caused by an issue with error handling in the @octokit/webhooks library because the error can be undefined in some cases.\n\nCredit goes to @pb82 (for the early analysis) and @rh-tguittet (for discovery). \n\n### Patches\n\nMaintenance releases for the Error being thrown by the verify method in [octokit/webhooks.js](https://github.com/octokit/webhooks.js)\n* v12 - [v12.0.4](https://github.com/octokit/webhooks.js/releases/tag/v12.0.4)\n* v11 - [v11.1.2](https://github.com/octokit/webhooks.js/releases/tag/v11.1.2)\n* v10 -[v10.9.2](https://github.com/octokit/webhooks.js/releases/tag/v10.9.2)\n* v9 - [v9.26.3](https://github.com/octokit/webhooks.js/releases/tag/v9.26.3)\n\nMaintenance release for the reference for [octokit/webhooks.js](https://github.com/octokit/webhooks.js) in [app.js](https://github.com/octokit/app.js)\n* [v14.0.2](https://github.com/octokit/app.js/releases/tag/v14.0.2)\n\nMaintenance release for the reference for [octokit/webhooks.js](https://github.com/octokit/webhooks.js) in [octokit.js](https://github.com/octokit/octokit.js)\n* [v3.1.2](https://github.com/octokit/octokit.js/releases/tag/v3.1.2)\n\nMaintenance release for the reference for [octokit/webhooks.js](https://github.com/octokit/webhooks.js) in [Protobot](https://github.com/probot/probot)\n* [v12.3.3](https://github.com/probot/probot/releases/tag/v12.3.3)\n\n\n### Workarounds\nIt is recommend that all users upgrade to the latest version of  [octokit/webhooks.js](https://github.com/octokit/webhooks.js) or use one of the updated back ported versions.","format":"markdown","source":"ghsa"},{"lang":"es","text":"octokit/webhooks es un conjunto de herramientas de eventos de webhook de GitHub para Node.js. A partir de 9.26.0 y anteriores a 9.26.3, 10.9.2, 11.1.2 y 12.0.4, hay un problema causado por un problema con el manejo de errores en la librería @octokit/webhooks porque el error puede no estar definido en algunos casos. Se descubrió que la solicitud resultante provoca una excepción no detectada que finaliza el proceso de nodejs. El error se solucionó en octokit/webhooks.js 9.26.3, 10.9.2, 11.1.2 y 12.0.4, app.js 14.02, octokit.js 3.1.2 y Protobot 12.3.3.","source":"nvd"}],"published":"2023-12-15T21:59:00.312Z","modified":"2026-09-10T03:50:04.494Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-755"],"affected":[{"ranges":[{"version":">= 9.26.0, < 9.26.3","status":"affected"},{"version":">= 10.9.0, < 10.9.2","status":"affected"},{"version":">= 11.1.0, < 11.1.2","status":"affected"},{"version":">= 12.0.0, < 12.0.4","status":"affected"}],"vendor":"octokit","product":"webhooks.js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"9.26.3"}],"ecosystem":"npm","package":"@octokit/webhooks","purl":"pkg:npm/%40octokit/webhooks","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.0.0","status":"affected","fixed":"10.9.2"}],"ecosystem":"npm","package":"@octokit/webhooks","purl":"pkg:npm/%40octokit/webhooks","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"11.0.0","status":"affected","fixed":"11.1.2"}],"ecosystem":"npm","package":"@octokit/webhooks","purl":"pkg:npm/%40octokit/webhooks","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"12.0.0","status":"affected","fixed":"12.0.3"}],"ecosystem":"npm","package":"@octokit/webhooks","purl":"pkg:npm/%40octokit/webhooks","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"14.0.1","status":"affected","fixed":"14.0.2"}],"ecosystem":"npm","package":"@octokit/app","purl":"pkg:npm/%40octokit/app","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.1.2"}],"ecosystem":"npm","package":"octokit","purl":"pkg:npm/octokit","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"12.3.3"}],"ecosystem":"npm","package":"probot","purl":"pkg:npm/probot","source":"ghsa"},{"ranges":[{"status":"affected","version":"14.0.1"}],"vendor":"octokit","product":"app","cpe":"cpe:2.3:a:octokit:app:14.0.1:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"3.1.2"}],"vendor":"octokit","product":"octokit","cpe":"cpe:2.3:a:octokit:octokit:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"9.26.3"},{"status":"affected","introduced":"10.0.0","fixed":"10.9.2"},{"status":"affected","introduced":"11.0.0","fixed":"11.1.2"},{"status":"affected","introduced":"12.0.0","fixed":"12.0.4"}],"vendor":"octokit","product":"webhooks","cpe":"cpe:2.3:a:octokit:webhooks:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"12.3.3"}],"vendor":"probot","product":"probot","cpe":"cpe:2.3:a:probot:probot:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/octokit/webhooks.js/security/advisories/GHSA-pwfr-8pq7-x9qv","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/octokit/app.js/releases/tag/v14.0.2","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/octokit/octokit.js/releases/tag/v3.1.2","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/octokit/webhooks.js/releases/tag/v10.9.2","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/octokit/webhooks.js/releases/tag/v11.1.2","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/octokit/webhooks.js/releases/tag/v12.0.4","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/octokit/webhooks.js/releases/tag/v9.26.3","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/probot/probot/releases/tag/v12.3.3","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50728","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/octokit/webhooks.js","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-50728","url":"https://www.cve.org/CVERecord?id=CVE-2023-50728","licence":"CVE Terms of Use","modified":"2024-08-02T22:16:47.284Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pwfr-8pq7-x9qv","url":"https://github.com/advisories/GHSA-pwfr-8pq7-x9qv","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:04.494Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-50728","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50728","licence":"Public domain","modified":"2026-06-17T06:39:52.183Z"}],"updatedAt":"2026-11-25T22:58:31.453Z","epss":{"score":0.00903,"percentile":0.60812,"date":"2026-12-01T12:00:22.000Z"}}