chore(deps): update dependency protobufjs to v7.6.5 [security]#357
Open
renovate-bot wants to merge 1 commit into
Open
chore(deps): update dependency protobufjs to v7.6.5 [security]#357renovate-bot wants to merge 1 commit into
renovate-bot wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
7.6.4→7.6.5protobufjs: Denial of Service via infinite loop in .proto option parsing
CVE-2026-59877 / GHSA-j3f2-48v5-ccww
More information
Details
Summary
protobufjs parsed option names by advancing through schema tokens until it reached an
=token, without checking for end of input. A crafted.protoschema 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
.protoschema 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
.protoschema text influenced by an attacker.parse,Root.load, orRoot.loadSync.=assignment.Workarounds
Do not parse
.protoschemas 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.Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
protobufjs/protobuf.js (protobufjs)
v7.6.5: protobufjs: v7.6.5Compare Source
Bug Fixes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.