ADVISORIES

GitHub Advisory Database

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:

  • by providing untrusted user input to util.setProperty or to ReflectionObject.setParsedOption functions
  • by parsing/loading .proto files

Affected packages

EcosystemPackageAffected versions
npmprotobufjs
From 6.11.0 before 6.11.3 (fixed in 6.11.3)
npmprotobufjs
From 6.10.0 before 6.10.3 (fixed in 6.10.3)

References