CVE-2023-50728Unauthenticated Denial of Service in the octokit/webhooks library
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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | @octokit/app | Fixed | 14.0.2 | GHSA-pwfr-8pq7-x9qv |
| npm library | @octokit/webhooks | Fixed | 10.9.2 | GHSA-pwfr-8pq7-x9qv |
| npm library | octokit | Fixed | 3.1.2 | GHSA-pwfr-8pq7-x9qv |
| npm library | probot | Fixed | 12.3.3 | GHSA-pwfr-8pq7-x9qv |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- octokit webhooks.js: affected: >= 9.26.0, < 9.26.3, >= 10.9.0, < 10.9.2, >= 11.1.0, < 11.1.2, >= 12.0.0, < 12.0.4
References
- https://github.com/octokit/webhooks.js/security/advisories/GHSA-pwfr-8pq7-x9qv
- https://github.com/octokit/app.js/releases/tag/v14.0.2
- https://github.com/octokit/octokit.js/releases/tag/v3.1.2
- https://github.com/octokit/webhooks.js/releases/tag/v10.9.2
- https://github.com/octokit/webhooks.js/releases/tag/v11.1.2
- https://github.com/octokit/webhooks.js/releases/tag/v12.0.4
- https://github.com/octokit/webhooks.js/releases/tag/v9.26.3
- https://github.com/probot/probot/releases/tag/v12.3.3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.