Advisory

GHSA-pwfr-8pq7-x9qv

Also known as: CVE-2023-50728

Summary

Unauthenticated Denial of Service in the octokit/webhooks library

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-12-16 00:52 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

@octokit/webhooks

npm · All systems

Affected

  • introduced 0, fixed 9.26.3 (semver)

Fixed versions

9.26.3

Fix

@octokit/webhooks

npm · All systems

Affected

  • introduced 10.0.0, fixed 10.9.2 (semver)

Fixed versions

10.9.2

Fix

@octokit/webhooks

npm · All systems

Affected

  • introduced 11.0.0, fixed 11.1.2 (semver)

Fixed versions

11.1.2

Fix

@octokit/webhooks

npm · All systems

Affected

  • introduced 12.0.0, fixed 12.0.3 (semver)

Fixed versions

12.0.3

Fix

@octokit/app

npm · All systems

Affected

  • introduced 14.0.1, fixed 14.0.2 (semver)

Fixed versions

14.0.2

Fix

octokit

npm · All systems

Affected

  • introduced 0, fixed 3.1.2 (semver)

Fixed versions

3.1.2

Fix

probot

npm · All systems

Affected

  • introduced 0, fixed 12.3.3 (semver)

Fixed versions

12.3.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences