VDB
KO
HIGH 7.5

GHSA-g954-5hwp-pp24

Prototype Pollution in protobufjs

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / protobufjs
Introduced in: 6.11.0 Fixed in: 6.11.3
Fix npm install protobufjs@6.11.3
npm / protobufjs
Introduced in: 6.10.0 Fixed in: 6.10.3
Fix npm install protobufjs@6.10.3

References