Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-pwfr-8pq7-x9qv

Опубликовано: 16 дек. 2023
Источник: github
Github: Прошло ревью
CVSS3: 8.2

Описание

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.

Пакеты

Наименование

@octokit/webhooks

npm
Затронутые версииВерсия исправления

< 9.26.3

9.26.3

Наименование

@octokit/webhooks

npm
Затронутые версииВерсия исправления

>= 10.0.0, < 10.9.2

10.9.2

Наименование

@octokit/webhooks

npm
Затронутые версииВерсия исправления

>= 11.0.0, < 11.1.2

11.1.2

Наименование

@octokit/webhooks

npm
Затронутые версииВерсия исправления

>= 12.0.0, < 12.0.3

12.0.3

Наименование

@octokit/app

npm
Затронутые версииВерсия исправления

= 14.0.1

14.0.2

Наименование

octokit

npm
Затронутые версииВерсия исправления

< 3.1.2

3.1.2

Наименование

probot

npm
Затронутые версииВерсия исправления

< 12.3.3

12.3.3

EPSS

Процентиль: 65%
0.00479
Низкий

8.2 High

CVSS3

Дефекты

CWE-755

Связанные уязвимости

CVSS3: 7.5
redhat
около 2 лет назад

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.

CVSS3: 5.4
nvd
около 2 лет назад

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.

EPSS

Процентиль: 65%
0.00479
Низкий

8.2 High

CVSS3

Дефекты

CWE-755