Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-pwfr-8pq7-x9qv: 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.

ghsa
#vulnerability#web#dos#nodejs#js#git#auth

Skip to content

    • Actions

      Automate any workflow

    • Packages

      Host and manage packages

    • Security

      Find and fix vulnerabilities

    • Codespaces

      Instant dev environments

    • Copilot

      Write better code with AI

    • Code review

      Manage code changes

    • Issues

      Plan and track work

    • Discussions

      Collaborate outside of code

    • GitHub Sponsors

      Fund open source developers

*   The ReadME Project
    
    GitHub community articles
  • Pricing
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2023-50728

Unauthenticated Denial of Service in the octokit/webhooks library

High severity GitHub Reviewed Published Dec 15, 2023 in octokit/webhooks.js • Updated Dec 16, 2023

Package

npm @octokit/app (npm)

Affected versions

= 14.0.1

npm @octokit/webhooks (npm)

< 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

Description

Published to the GitHub Advisory Database

Dec 16, 2023

Last updated

Dec 16, 2023

Related news

CVE-2023-50728: Unauthenticated Denial of Service in the octokit/webhooks library

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.