{"id":"CVE-2022-25878","aliases":["GHSA-g954-5hwp-pp24"],"url":"https://o3.security/vulnerability/CVE-2022-25878","summary":"Prototype Pollution","details":"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.\n\nThis vulnerability can occur in multiple ways:\n1. by providing untrusted user input to util.setProperty or to ReflectionObject.setParsedOption functions\n2. by parsing/loading .proto files\n\n\n","published":"2022-05-27T20:00:15.716Z","modified":"2026-10-28T02:30:49.540674679Z","cvss":{"score":8.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"npm","name":"protobufjs","fixedVersion":"6.11.3"},{"ecosystem":"npm","name":"protobufjs","fixedVersion":"6.10.3"}],"fix":{"url":"https://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f","label":"protobufjs/protobuf.js@b5f1391"},"references":[{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.js%23L176-L197"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25878.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25878"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248"},{"type":"FIX","url":"https://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f"},{"type":"FIX","url":"https://github.com/protobufjs/protobuf.js/pull/1731"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/pull/1735"},{"type":"PACKAGE","url":"https://github.com/protobufjs/protobuf.js"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:49.540674679Z"}}