Lucene search

K
githubGitHub Advisory DatabaseGHSA-PWFR-8PQ7-X9QV
HistoryDec 16, 2023 - 12:52 a.m.

Unauthenticated Denial of Service in the octokit/webhooks library

2023-12-1600:52:19
CWE-755
GitHub Advisory Database
github.com
2
dos
octokit
webhooks

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

43.6%

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.

Affected configurations

Vulners
Node
probotprobotRange<12.3.3node.js
OR
octokitoctokitRange<3.1.2
OR
octokitappMatch14.0.1node.js
OR
octokitwebhooksRange<12.0.3node.js
OR
octokitwebhooksRange<11.1.2node.js
OR
octokitwebhooksRange<10.9.2node.js
OR
octokitwebhooksRange<9.26.3node.js

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

43.6%

Related for GHSA-PWFR-8PQ7-X9QV