chore(deps): update dependency protobufjs-cli to v2.5.0 [security]#369
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency protobufjs-cli to v2.5.0 [security]#369renovate[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:
2.4.2→2.5.0protobufjs-cli: Code injection in pbjs static output from crafted JSON descriptor names
CVE-2026-54271 / GHSA-pr59-h9ph-3fr8
More information
Details
Summary
A previous fix for unsafe name handling in
pbjsstatic / static-module code generation was incomplete. Affected versions ofprotobufjs-clicould still emit unsafe JavaScript references when generating static output from crafted JSON descriptor input. The common case of parsing schemas from.protofiles is not affected.This is a bypass of GHSA-6r35-46g8-jcw9 / CVE-2026-44295.
Impact
An attacker who can provide or influence pre-parsed JSON descriptors passed to
pbjsstatic code generation may be able to cause generated JavaScript output to contain attacker-controlled code.The injected code may execute if the generated file is later executed or imported and an affected generated API path is invoked.
Preconditions
pbjsstatic code generation on a pre-parsed JSON descriptor influenced by an attacker.Workarounds
Do not run affected versions of
pbjsstatic or static-module generation on untrusted JSON descriptors. If untrusted JSON descriptors must be accepted, validate descriptor-derived names before code generation and reject names that could not have been produced by parsing a valid.protofile. Running code generation in an isolated environment can reduce impact.Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
protobufjs/protobuf.js (protobufjs-cli)
v2.5.0: protobufjs-cli: v2.5.0Compare Source
Features
Bug Fixes
Dependencies
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.