CVE-2022-25878
Protobufjs Project Protobufjs vulnerability
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
Affected products
Protobufjs. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Protobufjs Project Protobufjs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f · Patch
- github.com/protobufjs/protobuf.js/pull/1731 · Patch
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507 · Exploit
- snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248 · Exploit
- github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.j
- nvd.nist.gov/vuln/detail/CVE-2022-25878
- cve.org/CVERecord?id=CVE-2022-25878
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.