Skip to content

🚨 [security] Update protobufjs 8.6.5 → 8.6.6 (patch) - #6205

Merged
fatadel merged 1 commit into
mainfrom
depfu/update/yarn/protobufjs-8.6.6
Jul 21, 2026
Merged

🚨 [security] Update protobufjs 8.6.5 → 8.6.6 (patch)#6205
fatadel merged 1 commit into
mainfrom
depfu/update/yarn/protobufjs-8.6.6

Conversation

@depfu

@depfudepfuBot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Main | Deploy preview


🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ protobufjs (8.6.5 → 8.6.6) · Repo · Changelog

Security Advisories 🚨

🚨 protobufjs: Denial of Service via infinite loop in .proto option parsing

Summary

protobufjs parsed option names by advancing through schema tokens until it reached an = token, without checking for end of input. A crafted .proto schema that opens an option declaration but ends prematurely could cause the option parser to loop without ever terminating.

This affects the reflection parsing path (parse, Root.load, Root.loadSync).

Impact

An attacker who can provide or influence .proto schema text parsed by an application may be able to cause the parsing call to never return. Because Node.js is single-threaded, the blocked event loop prevents all other work in the process, resulting in a denial of service that persists until the process is externally terminated.

Applications that only encode or decode protobuf binary data with trusted schemas are not directly affected.

Preconditions

  • The application must parse .proto schema text influenced by an attacker.
  • The schema must be parsed through APIs such as parse, Root.load, or Root.loadSync.
  • The crafted input must begin an option declaration that ends before its = assignment.

Workarounds

Do not parse .proto schemas from untrusted sources with affected versions. If untrusted schema text must be accepted, isolate parsing in a process or worker that can be safely terminated and bound it with a timeout, so a non-returning parse call cannot deny service to the rest of the application.

Release Notes

8.6.6 (from changelog)

Bug Fixes

Does any of this look wrong? Please let us know.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfudepfuBot added the dependencies Pull requests that update a dependency file label Jul 21, 2026
@depfu
depfuBot requested review from canova and fatadel as code ownersJuly 21, 2026 00:19
@fatadel
fatadel merged commit 258ca5f into mainJul 21, 2026
22 checks passed
@depfu
depfuBot deleted the depfu/update/yarn/protobufjs-8.6.6 branch July 21, 2026 09:47
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@fatadel