Unauthenticated Denial of Service in the octokit/webhooks library
Impact
Versions v9.26.0, v10.9.x), v11.1.x, v12.0.x all contained the code that would throw the error.
Specifically, 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.
The problem is caused by an issue with error handling in the @octokit/webhooks library because the error can be undefined in some cases.
Credit goes to @pb82 (for the early analysis) and @rh-tguittet (for discovery).
Patches
Maintenance releases for the Error being thrown by the verify method in octokit/webhooks.js
Maintenance release for the reference for octokit/webhooks.js in app.js
Maintenance release for the reference for octokit/webhooks.js in octokit.js
Maintenance release for the reference for octokit/webhooks.js in Protobot
Workarounds
It is recommend that all users upgrade to the latest version of octokit/webhooks.js or use one of the updated back ported versions.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Paczka npm | octokit | < 3.1.2 | 3.1.2 |
| Paczka npm | @octokit/app | >= 14.0.1, < 14.0.2 | 14.0.2 |
| Paczka npm | @octokit/webhooks | < 9.26.3, >= 10.0.0, < 10.9.2, >= 11.0.0, < 11.1.2, >= 12.0.0, < 12.0.3 | 9.26.3, 10.9.2, 11.1.2, 12.0.3 |
| Paczka npm | probot | < 12.3.3 | 12.3.3 |
Odnośniki
- https://github.com/octokit/webhooks.js/security/advisories/GHSA-pwfr-8pq7-x9qv
- https://nvd.nist.gov/vuln/detail/CVE-2023-50728
- 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
- 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
- Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H- Słabość (CWE)
CWE-755- Platforma
- npm
- Paczka
octokit, @octokit/app, @octokit/webhooks- Ujawniono
- 16.12.2023
- Aktualizacja
- 11.10.2026 10:22
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-pwfr-8pq7-x9qv - CC BY 4.0
Historia podatności: @octokit/webhooks
Wszystkie opisane podatności tej paczki (Paczka npm), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
To jedyna znana podatność tej paczki.
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.