High severityNVD Advisory· Published May 27, 2022· Updated Sep 17, 2024
Prototype Pollution
CVE-2022-25878
Description
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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
protobufjsnpm | >= 6.11.0, < 6.11.3 | 6.11.3 |
protobufjsnpm | >= 6.10.0, < 6.10.3 | 6.10.3 |
Affected products
2Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-g954-5hwp-pp24ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-25878ghsaADVISORY
- github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.js%23L176-L197ghsax_refsource_MISCWEB
- github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8fghsax_refsource_MISCWEB
- github.com/protobufjs/protobuf.js/pull/1731ghsax_refsource_MISCWEB
- github.com/protobufjs/protobuf.js/pull/1735ghsaWEB
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.