CVE-2023-50728
Octokit App vulnerability
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.
Affected products
App, Octokit, Webhooks, Probot. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Octokit App runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/octokit/webhooks.js/security/advisories/GHSA-pwfr-8pq7-x9qv · Vendor Advisory
- github.com/octokit/app.js/releases/tag/v14.0.2
- github.com/octokit/octokit.js/releases/tag/v3.1.2
- github.com/octokit/webhooks.js/releases/tag/v10.9.2
- github.com/octokit/webhooks.js/releases/tag/v11.1.2
- github.com/octokit/webhooks.js/releases/tag/v12.0.4
- github.com/octokit/webhooks.js/releases/tag/v9.26.3
- github.com/probot/probot/releases/tag/v12.3.3
- nvd.nist.gov/vuln/detail/CVE-2023-50728
- cve.org/CVERecord?id=CVE-2023-50728
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.