Skip to content

Conversation

@ekmixon
Copy link
Owner

@ekmixon ekmixon commented Jun 21, 2025

snyk-top-banner

Snyk has created this PR to upgrade @octokit/rest from 16.43.2 to 22.0.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 120 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Prototype Pollution
SNYK-JS-LODASHSET-1320032
686 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-OCTOKITPLUGINPAGINATEREST-8730855
686 Proof of Concept
Release notes
Package name: @octokit/rest
  • 22.0.0 - 2025-05-25

    22.0.0 (2025-05-25)

    Bug Fixes

    • deps: update octokit monorepo (major) (#504) (77530ab)

    BREAKING CHANGES

    • deps: Drop support for NodeJS v18
    • deps: Remove deprecated Projects endpoints
    • deps: Remove deprecated Copilot usage metrics endpoints
  • 21.1.1 - 2025-02-14

    21.1.1 (2025-02-14)

    Bug Fixes

    • deps: update Octokit dependencies to mitigate ReDos [security] (#484) (ca256c3)
  • 21.1.0 - 2025-01-08

    21.1.0 (2025-01-08)

    Features

    • new endpoints, bump Octokit deps to fix Deno (#477) (908b1c8)
  • 21.0.2 - 2024-08-16

    21.0.2 (2024-08-16)

    Bug Fixes

  • 21.0.1 - 2024-07-17

    21.0.1 (2024-07-17)

    Bug Fixes

  • 21.0.0 - 2024-06-20

    21.0.0 (2024-06-20)

    Features

    BREAKING CHANGES

    • package is now ESM
  • 21.0.0-beta.4 - 2024-06-19

    21.0.0-beta.4 (2024-06-19)

    Bug Fixes

  • 21.0.0-beta.3 - 2024-04-30

    21.0.0-beta.3 (2024-04-30)

    Features

  • 21.0.0-beta.2 - 2024-04-16
  • 21.0.0-beta.1 - 2024-03-05
  • 20.1.2 - 2025-02-26

    20.1.2 (2025-02-26)

    Bug Fixes

    • deps: bump Octokit dependencies to address ReDos vulnerabilities, bump devDependencies (#487) (711f2ee), closes #486
  • 20.1.1 - 2024-05-03

    20.1.1 (2024-05-03)

    Bug Fixes

  • 20.1.0 - 2024-04-03
  • 20.0.2 - 2023-09-25
  • 20.0.1 - 2023-07-11
  • 20.0.0 - 2023-07-11
  • 20.0.0-beta.5 - 2023-07-10
  • 20.0.0-beta.4 - 2023-07-10
  • 20.0.0-beta.3 - 2023-06-27
  • 20.0.0-beta.2 - 2023-06-03
  • 20.0.0-beta.1 - 2023-06-03
  • 19.0.13 - 2023-06-16
  • 19.0.12 - 2023-06-16
  • 19.0.11 - 2023-05-20
  • 19.0.10 - 2023-05-20
  • 19.0.9 - 2023-05-20
  • 19.0.8 - 2023-05-14
  • 19.0.7 - 2023-01-21
  • 19.0.6 - 2023-01-21
  • 19.0.5 - 2022-10-13
  • 19.0.4 - 2022-08-15
  • 19.0.3 - 2022-07-08
  • 19.0.2 - 2022-07-08
  • 19.0.1 - 2022-07-07
  • 19.0.0 - 2022-07-07
  • 18.12.0 - 2021-10-07
  • 18.11.4 - 2021-09-30
  • 18.11.3 - 2021-09-30
  • 18.11.2 - 2021-09-27
  • 18.11.1 - 2021-09-24
  • 18.11.0 - 2021-09-22
  • 18.10.0 - 2021-08-31
  • 18.9.1 - 2021-08-16
  • 18.9.0 - 2021-08-03
  • 18.8.0 - 2021-08-02
  • 18.7.2 - 2021-07-30
  • 18.7.1 - 2021-07-23
  • 18.7.0 - 2021-07-21
  • 18.6.8 - 2021-07-20
  • 18.6.7 - 2021-07-04
  • 18.6.6 - 2021-06-30
  • 18.6.5 - 2021-06-30
  • 18.6.4 - 2021-06-29
  • 18.6.3 - 2021-06-26
  • 18.6.2 - 2021-06-24
  • 18.6.1 - 2021-06-23
  • 18.6.0 - 2021-06-12
  • 18.5.6 - 2021-06-01
  • 18.5.6-beta.1 - 2021-06-01
  • 18.5.5 - 2021-05-28
  • 18.5.4 - 2021-05-27
  • 18.5.3 - 2021-04-21
  • 18.5.2 - 2021-03-27
  • 18.5.1 - 2021-03-26
  • 18.5.0 - 2021-03-26
  • 18.4.0 - 2021-03-24
  • 18.3.5 - 2021-03-08
  • 18.3.4 - 2021-03-05
  • 18.3.3 - 2021-03-05
  • 18.3.2 - 2021-03-03
  • 18.3.1 - 2021-03-01
  • 18.3.0 - 2021-02-26
  • 18.2.1 - 2021-02-24
  • 18.2.0 - 2021-02-18
  • 18.1.1 - 2021-02-13
  • 18.1.0 - 2021-02-03
  • 18.0.15 - 2021-01-25
  • 18.0.14 - 2021-01-22
  • 18.0.13 - 2021-01-22
  • 18.0.12 - 2020-12-04
  • 18.0.11 - 2020-12-03
  • 18.0.10 - 2020-12-02
  • 18.0.9 - 2020-11-02
  • 18.0.8 - 2020-11-01
  • 18.0.7 - 2020-10-30
  • 18.0.6 - 2020-09-14
  • 18.0.5 - 2020-09-04
  • 18.0.4 - 2020-08-26
  • 18.0.3 - 2020-07-24
  • 18.0.2 - 2020-07-23
  • 18.0.1 - 2020-07-16
  • 18.0.0 - 2020-06-11
  • 17.11.2 - 2020-06-11
  • 17.11.1 - 2020-06-11
  • 17.11.0 - 2020-06-07
  • 17.10.0 - 2020-06-04
  • 17.9.3 - 2020-06-03
  • 17.9.2 - 2020-05-18
  • 17.9.1 - 2020-05-17
  • 17.9.0 - 2020-05-11
  • 17.8.0 - 2020-05-06
  • 17.7.0 - 2020-05-05
  • 17.6.0 - 2020-04-24
  • 17.5.2 - 2020-04-22
  • 17.5.1 - 2020-04-20
  • 17.5.0 - 2020-04-20
  • 17.4.0 - 2020-04-19
  • 17.3.0 - 2020-04-15
  • 17.2.1 - 2020-04-12
  • 17.2.0 - 2020-04-08
  • 17.1.4 - 2020-03-26
  • 17.1.3 - 2020-03-25
  • 17.1.2 - 2020-03-24
  • 17.1.1 - 2020-03-20
  • 17.1.0 - 2020-03-11
  • 17.0.1 - 2020-03-10
  • 17.0.0 - 2020-02-19
  • 17.0.0-beta.3 - 2020-02-07
  • 17.0.0-beta.2 - 2020-02-04
  • 17.0.0-beta.1 - 2020-02-03
  • 16.43.2 - 2020-06-24
from @octokit/rest GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Summary by Sourcery

Upgrade the @octokit/rest dependency from v16.43.2 to v22.0.0 to address security vulnerabilities and receive the latest fixes from the Octokit monorepo.

Bug Fixes:

  • Mitigate Prototype Pollution vulnerability (SNYK-JS-LODASHSET) by updating @octokit/rest.
  • Resolve ReDoS vulnerability in @octokit/plugin-paginate-rest (SNYK-JS-OCTOKITPLUGINPAGINATEREST) via dependency bump.

Enhancements:

  • Bump @octokit/rest across a major version with updated API and dropped Node.js v18 support and deprecated endpoint removals.

Snyk has created this PR to upgrade @octokit/rest from 16.43.2 to 22.0.0.

See this package in npm:
@octokit/rest

See this project in Snyk:
https://app.snyk.io/org/ekmixon/project/a50a9592-0b85-48c9-9301-0888580e6c10?utm_source=github&utm_medium=referral&page=upgrade-pr
@secure-code-warrior-for-github

Micro-Learning Topic: Regular expression denial of service (Detected by phrase)

Matched on "Regular Expression Denial of Service"

What is this? (2min video)

Denial of Service (DoS) attacks caused by Regular Expression which causes the system to hang or cause them to work very slowly when attacker sends a well-crafted input(exponentially related to input size).Denial of service attacks significantly degrade the service quality experienced by legitimate users. These attacks introduce large response delays, excessive losses, and service interruptions, resulting in direct impact on availability.

Try a challenge in Secure Code Warrior

Micro-Learning Topic: Denial of service (Detected by phrase)

Matched on "Denial of Service"

The Denial of Service (DoS) attack is focused on making a resource (site, application, server) unavailable for the purpose it was designed. There are many ways to make a service unavailable for legitimate users by manipulating network packets, programming, logical, or resources handling vulnerabilities, among others. Source: https://www.owasp.org/index.php/Denial_of_Service

Try a challenge in Secure Code Warrior

Micro-Learning Topic: Prototype pollution (Detected by phrase)

Matched on "Prototype Pollution"

What is this? (2min video)

By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf).

Try a challenge in Secure Code Warrior

@sourcery-ai
Copy link

sourcery-ai bot commented Jun 21, 2025

Reviewer's Guide

Updates the @octokit/rest dependency in package.json from v16.x to v22.x to apply upstream security fixes and address high-severity vulnerabilities (prototype pollution and ReDoS), while introducing a major version that may require checking for breaking changes.

File-Level Changes

Change Details Files
Bump @octokit/rest dependency version
  • Changed version specifier for @octokit/rest in package.json from ^16.43.2 to ^22.0.0
package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants