VDB
Sign up
HIGH7.5

GHSA-g954-5hwp-pp24

Prototype Pollution in protobufjs

Quick fix

GHSA-g954-5hwp-pp24 — protobufjs: upgrade to the fixed version with the command below.

npm install protobufjs@6.11.3

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.0Fixed in: 6.11.3
Fixnpm install protobufjs@6.11.3
npm/protobufjs
Introduced in: 6.10.0Fixed in: 6.10.3
Fixnpm install protobufjs@6.10.3

References