Prototype Pollution in protobufjs
Date: 2022-05
Affected: npm/protobufjs, npm/protobufjs
Attack vector: other
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2022-25878
CWE: CWE-1321
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)

The package protobufjs is vulnerable to Prototype Pollution, which can allow an attacker to add/modify properties of the Object.prototype. Versions after and including 6.10.0 until 6.10.3 and after and including 6.11.0 until 6.11.3 are vulnerable. This vulnerability can occur in multiple ways: 1. by providing untrusted user input to util.setProperty or to ReflectionObject.setParsedOption functions 2. by parsing/loading .proto files


Mitigations:

Architectural layers (MAESTRO):