GitHub Advisoryadvisory · npm

GHSA-g954-5hwp-pp24 Prototype Pollution in protobufjs

HIGH Published 2022-05-28 Modified 2022-08-17 Official page ↗
Aliases
CVE-2022-25878
Ecosystem
npm
Packages
protobufjs
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-1321
Reviewed
2022-06-02

Affected packages

• npm protobufjs: >= 6.11.0, < 6.11.3 → fixed in 6.11.3 • npm protobufjs: >= 6.10.0, < 6.10.3 → fixed in 6.10.3

Description

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

Related

Alias · CVE (1)

  • CVE-2022-25878 The package protobufjs before 6.11.3 are vulnerable to Prototype Pollution which can allow an attacker to add/modify properties of the… vulnerability

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References