[🐸 Frogbot] Update version of protobufjs to 6.11.4#2
Open
github-actions[bot] wants to merge 1 commit intomainfrom
Open
[🐸 Frogbot] Update version of protobufjs to 6.11.4#2github-actions[bot] wants to merge 1 commit intomainfrom
github-actions[bot] wants to merge 1 commit intomainfrom
Conversation
This was referenced Nov 1, 2024
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.
📦 Vulnerable Dependencies
✍️ Summary
Critical
[7.2.5]
🔬 Research Details
Description:
Protocol Buffers or "protobufs" are a language-neutral, platform-neutral, extensible way of serializing structured data. protobuf.js is a JavaScript library that allows creating and consuming protobufs.
An incomplete fix for CVE-2022-25878 has been reported as CVE-2023-36665.
Multiple prototype pollution vulnerabilities were detected in the
protobuf.jslibrary. Namely these can occur when:util.setPropertyreceives untrusted input in arguments 2 & 3 -ReflectionObject.setParsedOptionreceives untrusted input in arguments 2 & 3parsereceives untrusted input (an untrusted.protodefinition) -loadreceives an untrusted.protofile -an example malicious
.protofile -option(foo).constructor.prototype.verified = true;While most prototype pollution attacks lead to denial of service, it has been reported that code execution is possible when unsanitized user input is provided to the functions
util.setPropertyorReflectionObject.setParsedOption.Remediation:
Development mitigations
Add the
Object.freeze(Object.prototype);directive once at the beginning of your main JS source code file (ex.index.js), preferably after all yourrequiredirectives. This will prevent any changes to the prototype object, thus completely negating prototype pollution attacks.🐸 JFrog Frogbot