CVE-2022-25878: protobufjs_project protobufjs Prototype Pollution
Vulnerability summary
CVE-2022-25878 is a high (CVSS 8.2) Prototype Pollution vulnerability in protobufjs_project protobufjs. EPSS estimates a 2.33% chance of exploitation in the next 30 days, higher than 83.2% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 27-05-2022PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
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
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
2.33%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
-0.01 pp
From 2.34% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (snyk.io)
Maturity: unknown
Exploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Npm1 product
- protobufjs≥ 6.11.0, < 6.11.3 | ≥ 6.10.0, < 6.10.3
Protobufjs_project1 product
- protobufjs< 6.11.3
2 vendors · 2 products
References
8 links- github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8fX Refsource MISCWEBPatchThird Party Advisory