{"id":"CVE-2023-50728","aliases":["EUVD-2023-3265","GHSA-pwfr-8pq7-x9qv"],"status":"published","title":"Unauthenticated Denial of Service in the octokit/webhooks library","description":"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.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00903,"percentile":0.60187,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-755"],"published":"2023-12-15T21:59:00Z","modified":"2026-10-28T02:30:47Z","fixes":[{"ecosystem":"npm","package":"@octokit/webhooks","fixed_in":["9.26.3","10.9.2","11.1.2","12.0.3"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@octokit/app","fixed_in":["14.0.2"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"octokit","fixed_in":["3.1.2"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"probot","fixed_in":["12.3.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@octokit/webhooks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.26.3"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@octokit/webhooks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.0.0"},{"fixed":"10.9.2"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@octokit/webhooks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11.0.0"},{"fixed":"11.1.2"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@octokit/webhooks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.0.0"},{"fixed":"12.0.3"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@octokit/app","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.1"},{"last_affected":"14.0.1"},{"fixed":"14.0.2"}]}],"versions":["14.0.1"]},{"source":"ghsa","ecosystem":"npm","package":"octokit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2"}]}]},{"source":"ghsa","ecosystem":"npm","package":"probot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.3"}]}]},{"source":"osv","ecosystem":"npm","package":"@octokit/webhooks","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.26.3"}]}]},{"source":"osv","ecosystem":"npm","package":"@octokit/webhooks","ranges":[{"type":"SEMVER","events":[{"introduced":"10.0.0"},{"fixed":"10.9.2"}]}]},{"source":"osv","ecosystem":"npm","package":"@octokit/webhooks","ranges":[{"type":"SEMVER","events":[{"introduced":"11.0.0"},{"fixed":"11.1.2"}]}]},{"source":"osv","ecosystem":"npm","package":"@octokit/webhooks","ranges":[{"type":"SEMVER","events":[{"introduced":"12.0.0"},{"fixed":"12.0.3"}]}]},{"source":"osv","ecosystem":"npm","package":"@octokit/app","ranges":[{"type":"SEMVER","events":[{"introduced":"14.0.1"},{"fixed":"14.0.2"}]}],"versions":["14.0.1"]},{"source":"osv","ecosystem":"npm","package":"octokit","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.1.2"}]}]},{"source":"osv","ecosystem":"npm","package":"probot","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"12.3.3"}]}]}],"products":[{"vendor":"octokit","product":"app"},{"vendor":"octokit","product":"octokit"},{"vendor":"octokit","product":"webhooks"},{"vendor":"octokit","product":"webhooks.js"},{"vendor":"probot","product":"probot"}],"references":[{"url":"https://github.com/octokit/webhooks.js/security/advisories/GHSA-pwfr-8pq7-x9qv","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/octokit/app.js/releases/tag/v14.0.2","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/octokit/octokit.js/releases/tag/v3.1.2","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/octokit/webhooks.js/releases/tag/v10.9.2","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/octokit/webhooks.js/releases/tag/v11.1.2","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/octokit/webhooks.js/releases/tag/v12.0.4","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/octokit/webhooks.js/releases/tag/v9.26.3","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/probot/probot/releases/tag/v12.3.3","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50728","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pwfr-8pq7-x9qv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50728.json","tags":["advisory"]},{"url":"https://github.com/octokit/webhooks.js","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-50728","title":"Unauthenticated Denial of Service in the octokit/webhooks library","description":"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.","status":"published","published":"2023-12-15T21:59:00.312Z","modified":"2024-08-02T22:16:47.284Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-755"],"updated_at":"2026-11-02T14:35:34.923818Z"}],"euvd":[{"id":"EUVD-2023-3265","description":"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.","status":"published","published":"2023-12-15T21:59:00Z","modified":"2024-08-02T22:16:47Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium"}],"updated_at":"2026-11-03T03:26:07.661682Z"}],"ghsa":[{"id":"GHSA-pwfr-8pq7-x9qv","title":"Unauthenticated Denial of Service in the octokit/webhooks library","description":"### 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.\n\n","status":"published","published":"2023-12-16T00:52:19Z","modified":"2023-12-16T00:52:21Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"cwes":["CWE-755"],"updated_at":"2026-11-02T14:37:26.727664Z"}],"nvd":[{"id":"CVE-2023-50728","description":"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.","status":"published","published":"2023-12-15T22:15:07.16Z","modified":"2026-06-17T06:39:52.183Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-755"],"updated_at":"2026-11-02T14:08:56.329586Z"}],"osv":[{"id":"CVE-2023-50728","title":"Unauthenticated Denial of Service in the octokit/webhooks library","description":"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.","status":"published","published":"2023-12-15T21:59:00.312Z","modified":"2026-10-28T02:30:47.416405962Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium"}],"cwes":["CWE-755"],"updated_at":"2026-11-02T15:44:35.245372Z"},{"id":"GHSA-pwfr-8pq7-x9qv","title":"Unauthenticated Denial of Service in the octokit/webhooks library","description":"### 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.\n\n","status":"published","published":"2023-12-16T00:52:19Z","modified":"2026-09-10T03:50:04.494021806Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"cwes":["CWE-755"],"updated_at":"2026-11-02T15:46:53.700556Z"}]}}
