Prototype Pollution in Protobufjs Project
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 Object.prototype. 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
Vulnerability class: Prototype Pollution
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L.
EPSS exploit prediction
EPSS 0.023, 83.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Protobufjs Project
- Protobufjs — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, dellalibera/dellalibera, MaySoMusician/geidai-ikoi, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248 (Exploit, Patch, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507 (Exploit, Patch, Third Party Advisory)
- github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf… (Broken Link)
- github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e… (Patch, Third Party Advisory)
- github.com/protobufjs/protobuf.js/pull/1731 (Patch, Third Party Advisory)