{"schemaVersion":3,"id":"CVE-2023-50728","aliases":["GHSA-pwfr-8pq7-x9qv"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-12-15T21:59:00.312Z","modified":"2024-08-02T22:16:47.284Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00903,"percentile":0.59134,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.17200000000000001,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00731},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00903,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00903,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00903,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00903,"percentile":0.59134}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00731,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00903,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00903,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00903,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00903,"percentile":0.59134}]},"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-755","name":"Improper Handling of Exceptional Conditions","description":"The product does not handle or incorrectly handles an exceptional condition.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/755.html"}],"affected":[{"vendor":"Npm","product":"octokit","name":"octokit","label":"octokit","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/octokit","purlType":"npm","versions":[{"text":"< 3.1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.2","eol":null,"hubHref":null},{"vendor":"@octokit","product":"app","name":"@octokit/app","label":"app","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@octokit/app","purlType":"npm","versions":[{"text":"≥ 14.0.1, < 14.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 14.0.1, < 14.0.2","eol":null,"hubHref":null},{"vendor":"@octokit","product":"webhooks","name":"@octokit/webhooks","label":"webhooks","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@octokit/webhooks","purlType":"npm","versions":[{"text":"< 9.26.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.0.0, < 10.9.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 11.0.0, < 11.1.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 12.0.0, < 12.0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.26.3 | ≥ 10.0.0, < 10.9.2 | ≥ 11.0.0, < 11.1.2 | ≥ 12.0.0, < 12.0.3","eol":null,"hubHref":null},{"vendor":"Npm","product":"probot","name":"probot","label":"probot","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/probot","purlType":"npm","versions":[{"text":"< 12.3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 12.3.3","eol":null,"hubHref":null},{"vendor":"octokit","product":"app","name":"app","label":"app","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"14.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"14.0.1","eol":null,"hubHref":"/vendor/octokit/app"},{"vendor":"octokit","product":"octokit","name":"octokit","label":"octokit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.2","eol":null,"hubHref":"/vendor/octokit/octokit"},{"vendor":"octokit","product":"webhooks","name":"webhooks","label":"webhooks","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 9.26.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.0.0, < 10.9.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 11.0.0, < 11.1.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 12.0.0, < 12.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.26.3 | ≥ 10.0.0, < 10.9.2 | ≥ 11.0.0, < 11.1.2 | ≥ 12.0.0, < 12.0.4","eol":null,"hubHref":"/vendor/octokit/webhooks"},{"vendor":"octokit","product":"webhooks.js","name":"webhooks.js","label":"webhooks.js","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 9.26.0, < 9.26.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.9.0, < 10.9.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 11.1.0, < 11.1.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 12.0.0, < 12.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 9.26.0, < 9.26.3 | ≥ 10.9.0, < 10.9.2 | ≥ 11.1.0, < 11.1.2 | ≥ 12.0.0, < 12.0.4","eol":null,"hubHref":"/vendor/octokit/webhooksjs"},{"vendor":"probot","product":"probot","name":"probot","label":"probot","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 12.3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 12.3.3","eol":null,"hubHref":"/vendor/probot/probot"}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/octokit/webhooks.js/security/advisories/GHSA-pwfr-8pq7-x9qv","label":"github.com/octokit/webhooks.js/security/advisories/GHSA-pwfr-8pq7-x9qv","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://github.com/octokit/app.js/releases/tag/v14.0.2","label":"github.com/octokit/app.js/releases/tag/v14.0.2","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/octokit/octokit.js/releases/tag/v3.1.2","label":"github.com/octokit/octokit.js/releases/tag/v3.1.2","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/octokit/webhooks.js/releases/tag/v10.9.2","label":"github.com/octokit/webhooks.js/releases/tag/v10.9.2","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/octokit/webhooks.js/releases/tag/v11.1.2","label":"github.com/octokit/webhooks.js/releases/tag/v11.1.2","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/octokit/webhooks.js/releases/tag/v12.0.4","label":"github.com/octokit/webhooks.js/releases/tag/v12.0.4","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/octokit/webhooks.js/releases/tag/v9.26.3","label":"github.com/octokit/webhooks.js/releases/tag/v9.26.3","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/probot/probot/releases/tag/v12.3.3","label":"github.com/probot/probot/releases/tag/v12.3.3","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50728","label":"nvd.nist.gov/vuln/detail/CVE-2023-50728","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/octokit/webhooks.js","label":"github.com/octokit/webhooks.js","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-12-15T21:59:00.312Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T22:16:47.284Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T10:40:12.126Z","stale":false,"partial":false}}