PT-2023-31626 · Github · Octokit/Webhooks+1
Nickfloyd
+2
·
Published
2023-12-15
·
Updated
2023-12-19
·
CVE-2023-50728
CVSS v3.1
5.4
Medium
| Vector | AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H |
Name of the Vulnerable Software and Affected Versions
octokit/webhooks versions 9.26.0 through 9.26.2
octokit/webhooks versions 10.9.0 through 10.9.1
octokit/webhooks versions 11.1.0 through 11.1.1
octokit/webhooks versions 12.0.0 through 12.0.3
Description
The issue is caused by a problem with error handling in the @octokit/webhooks library, where the error can be undefined in some cases, resulting in an uncaught exception that ends the nodejs process. This problem was encountered during a pentest and is specifically related to the octokit/webhooks library, a dependency of Probot, a framework for building Github Apps.
Recommendations
For octokit/webhooks versions 9.26.0 through 9.26.2, update to version 9.26.3.
For octokit/webhooks versions 10.9.0 through 10.9.1, update to version 10.9.2.
For octokit/webhooks versions 11.1.0 through 11.1.1, update to version 11.1.2.
For octokit/webhooks versions 12.0.0 through 12.0.3, update to version 12.0.4.
As a general recommendation, it is advised to upgrade to the latest version of octokit/webhooks.js or use one of the updated backported versions.
Exploit
Fix
Improper Handling of Exceptional Conditions
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Probot
Octokit/Webhooks