PT-2022-17583 · Unknown · Protobufjs

Alessio Della Libera

·

Published

2022-05-27

·

Updated

2024-06-28

·

CVE-2022-25878

CVSS v3.1

8.2

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Name of the Vulnerable Software and Affected Versions protobufjs versions prior to 6.11.3
Description The issue concerns a Prototype Pollution vulnerability that can allow an attacker to add or modify properties of the Object.prototype. This can occur in two main ways: by providing untrusted user input to util.setProperty or to ReflectionObject.setParsedOption functions, and by parsing or loading .proto files.
Recommendations For versions prior to 6.11.3, update to version 6.11.3 or later to resolve the issue. As a temporary workaround, consider restricting the use of util.setProperty and ReflectionObject.setParsedOption functions to trusted input only, and avoid parsing or loading untrusted .proto files until the update is applied.

Exploit

Fix

Prototype Pollution

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-25878
GHSA-G954-5HWP-PP24
SNYK-JAVA-ORGWEBJARSNPM-2841507
SNYK-JS-PROTOBUFJS-2441248

Affected Products

Protobufjs