fix(deps): update dependency octokit to v3 [security] #3848
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.9
->3.1.2
GitHub Vulnerability Alerts
CVE-2023-50728
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.
Release Notes
octokit/octokit.js (octokit)
v3.1.2
Compare Source
Bug Fixes
v3.1.1
Compare Source
Bug Fixes
v3.1.0
Compare Source
Features
v3.0.0
Compare Source
Features
BREAKING CHANGES
agent
option fromoctokit.request()
@octokit/request
)method
,headers
,body
,signal
(via @octokit/request)v2.1.0
Compare Source
Features
v2.0.22
Compare Source
Bug Fixes
v2.0.21
Compare Source
Bug Fixes
v2.0.20
Compare Source
Bug Fixes
v2.0.19
Compare Source
Bug Fixes
@octokit/app
(#2460) (4db2da3)v2.0.18
Compare Source
Bug Fixes
v2.0.17
Compare Source
Bug Fixes
v2.0.16
Compare Source
Bug Fixes
@octokit
modules (#2451) (3562907)v2.0.15
Compare Source
Bug Fixes
v2.0.14
Compare Source
Bug Fixes
v2.0.13
Compare Source
Bug Fixes
v2.0.12
Compare Source
Bug Fixes
v2.0.11
Compare Source
Bug Fixes
@octokit/app
in order to propogate fix to CVE-2022-23541 (#2374) (c067836)v2.0.10
Compare Source
Bug Fixes
@octokit/plugin-retry
to latest (#2334) (3ae9d29)Configuration
📅 Schedule: Branch creation - "" in timezone America/Toronto, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.