CVE-2022-25878Protobufjs Project Protobufjs
High 7.5 No auth needed
Follow: this CVE · Protobufjs Project · Protobufjs Project Protobufjs We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- May 27, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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
What to do
- Apply the vendor's security update for Protobufjs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | protobufjs |
≥ 6.11.0 < 6.11.3 |
6.11.3 |
npm install protobufjs@6.11.3 |
| npm | protobufjs |
≥ 6.10.0 < 6.10.3 |
6.10.3 |
npm install protobufjs@6.10.3 |
Per OSV / GitHub Advisories (GHSA-g954-5hwp-pp24). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| protobufjs_project | protobufjs | < 6.11.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- snyk.io Exploit Patch Third Party Advisory
- snyk.io Exploit Patch Third Party Advisory