CVE-2022-25878
HIGH7.5EPSS 0.42%Prototype Pollution in protobufjs
發布日:2022/5/28修改日:2025/1/14
描述
The package protobufjs is vulnerable to Prototype Pollution, which can allow an attacker to add/modify properties of the Object.prototype. Versions after and including 6.10.0 until 6.10.3 and after and including 6.11.0 until 6.11.3 are vulnerable. 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
受影響套件(1)
- npm/protobufjs>= 6.11.0, < 6.11.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
參考連結(8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-25878
- PATCHhttps://github.com/protobufjs/protobuf.js
- WEBhttps://github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.js%23L176-L197
- WEBhttps://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f
- WEBhttps://github.com/protobufjs/protobuf.js/pull/1731
- WEBhttps://github.com/protobufjs/protobuf.js/pull/1735
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507
- WEBhttps://snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248