Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1wd2ZyLThwcTcteDlxds4AA32_

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.

Permalink: https://github.com/advisories/GHSA-pwfr-8pq7-x9qv
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wd2ZyLThwcTcteDlxds4AA32_
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 12 months ago
Updated: 12 months ago


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

Identifiers: GHSA-pwfr-8pq7-x9qv, CVE-2023-50728
References: Repository: https://github.com/octokit/webhooks.js
Blast Radius: 32.3

Affected Packages

npm:probot
Dependent packages: 151
Dependent repositories: 3,813
Downloads: 170,718 last month
Affected Version Ranges: < 12.3.3
Fixed in: 12.3.3
All affected versions: 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.4.1, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.8.0, 0.9.0, 0.9.1, 0.10.0, 0.11.0, 1.0.0, 1.1.0, 2.0.0, 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0.5, 11.0.6, 11.1.0, 11.1.1, 11.2.0, 11.2.1, 11.2.2, 11.2.3, 11.2.4, 11.3.0, 11.3.1, 11.3.2, 11.4.0, 11.4.1, 12.0.0, 12.1.0, 12.1.1, 12.1.2, 12.1.3, 12.1.4, 12.2.0, 12.2.1, 12.2.2, 12.2.3, 12.2.4, 12.2.5, 12.2.6, 12.2.7, 12.2.8, 12.2.9, 12.3.0, 12.3.1, 12.3.2
All unaffected versions: 12.3.3, 12.3.4, 12.4.0, 13.0.0, 13.0.1, 13.0.2, 13.1.0, 13.1.1, 13.1.2, 13.2.0, 13.2.1, 13.2.2, 13.3.0, 13.3.4, 13.3.5, 13.3.6, 13.3.7, 13.3.8, 13.3.9, 13.3.10, 13.4.0
npm:octokit
Dependent packages: 463
Dependent repositories: 3,435
Downloads: 2,465,968 last month
Affected Version Ranges: < 3.1.2
Fixed in: 3.1.2
All affected versions: 0.1.6, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 0.9.11, 0.9.12, 0.9.14, 0.9.16, 0.9.17, 0.9.18, 0.9.19, 0.9.20, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.0.16, 2.0.17, 2.0.18, 2.0.19, 2.0.20, 2.0.21, 2.0.22, 2.1.0, 3.0.0, 3.1.0, 3.1.1
All unaffected versions: 3.1.2, 3.2.0, 3.2.1, 4.0.0, 4.0.1, 4.0.2
npm:@octokit/app
Dependent packages: 52
Dependent repositories: 2,358
Downloads: 2,586,895 last month
Affected Version Ranges: = 14.0.1
Fixed in: 14.0.2
All affected versions:
All unaffected versions: 1.0.0, 1.1.0, 2.0.0, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 3.0.0, 3.0.1, 3.0.2, 4.0.0, 4.1.0, 4.1.1, 4.2.0, 4.2.1, 4.3.0, 10.0.0, 10.0.1, 10.0.2, 10.0.3, 10.1.0, 10.1.1, 10.1.2, 10.2.0, 10.2.1, 10.2.2, 10.3.0, 11.0.0, 11.1.0, 11.2.0, 11.3.0, 11.3.1, 11.4.0, 11.4.1, 11.4.2, 12.0.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 12.0.5, 12.0.6, 12.0.7, 13.0.0, 13.0.1, 13.0.2, 13.0.3, 13.0.4, 13.0.5, 13.0.6, 13.0.7, 13.0.8, 13.0.9, 13.0.10, 13.0.11, 13.1.0, 13.1.1, 13.1.2, 13.1.3, 13.1.4, 13.1.5, 13.1.6, 13.1.7, 13.1.8, 14.0.0, 14.0.1, 14.0.2, 14.1.0, 15.0.0, 15.0.1, 15.1.0, 15.1.1
npm:@octokit/webhooks
Dependent packages: 84
Dependent repositories: 8,662
Downloads: 4,597,475 last month
Affected Version Ranges: >= 12.0.0, < 12.0.3, >= 11.0.0, < 11.1.2, >= 10.0.0, < 10.9.2, < 9.26.3
Fixed in: 12.0.3, 11.1.2, 10.9.2, 9.26.3
All affected versions: 1.0.0, 2.0.0, 3.0.0, 3.0.1, 3.0.2, 3.1.0, 3.1.1, 4.0.0, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.1.1, 5.1.2, 5.2.0, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.4.0, 5.4.1, 6.0.0, 6.0.1, 6.1.0, 6.2.0, 6.2.1, 6.2.2, 6.3.0, 6.3.1, 6.3.2, 7.0.0, 7.1.0, 7.1.1, 7.1.2, 7.2.0, 7.3.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 10.5.0, 10.5.1, 10.6.0, 10.6.1, 10.6.2, 10.7.0, 10.7.1, 10.7.2, 10.7.3, 10.8.0, 10.9.0, 10.9.1, 11.0.0, 11.1.0, 11.1.1, 12.0.0, 12.0.1, 12.0.2
All unaffected versions: 9.26.3, 10.9.2, 11.1.2, 12.0.3, 12.0.4, 12.0.5, 12.0.6, 12.0.7, 12.0.8, 12.0.9, 12.0.10, 12.0.11, 12.1.0, 12.1.1, 12.1.2, 12.2.0, 12.3.0, 12.3.1, 13.0.0, 13.0.1, 13.0.2, 13.1.0, 13.1.1, 13.2.0, 13.2.1, 13.2.2, 13.2.3, 13.2.4, 13.2.5, 13.2.6, 13.2.7, 13.2.8, 13.3.0, 13.4.0, 13.4.1