{"id":"CVE-2022-25878","published":"2022-05-27T20:00:15Z","modified":"2024-09-17T02:36:03Z","title":"Prototype Pollution","vendor":null,"product":null,"tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02329,"percentile":0.83936,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.js%23L176-L197","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/pull/1731","tags":["x_refsource_MISC"]}],"priority":{"score":22.5,"factors":[{"name":"EPSS percentile","points":16.79},{"name":"CVSS severity","points":5.74}]},"affectedVersions":[{"vendor":"n/a","product":"protobufjs","versions":[">= unspecified, < 6.11.3"]}],"affected":[{"ecosystem":"npm","package":"protobufjs","vulnerableRanges":[">=6.11.0, <6.11.3",">=6.10.0, <6.10.3"],"patched":["6.11.3","6.10.3"],"from":["GHSA-g954-5hwp-pp24"],"provenance":"source"}],"summary":{"text":"A prototype pollution flaw exists in the protobufjs package before version 6.11.3, where attacker-controlled input can add or modify properties of Object.prototype. It can be triggered by passing untrusted input to the util.setProperty or ReflectionObject.setParsedOption functions, or by parsing or loading crafted .proto files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:12Z"},"euvd":{"id":"EUVD-2022-3928","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-protobufjs-cve-2022-25878","children":[{"from":"CVE-2022-25878","to":"CVE-2023-36665","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:protobufjs","fromFixed":"6.11.3","toFixed":"6.11.4","daysApart":404},{"kind":"same-code","provenance":"machine","files":["src/util.js"],"commits":["https://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f","https://github.com/protobufjs/protobuf.js/commit/e66379f451b0393c27d87b37fa7d271619e16b0d"],"basis":"shared function","functions":["decorateEnum"]},{"kind":"similar","provenance":"machine","score":0.66,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2018-3738","published":"2018-06-07","fixed":"6.8.6","kev":false},{"cve":"CVE-2022-25878","published":"2022-05-27","fixed":"6.11.3","kev":false},{"cve":"CVE-2023-36665","published":"2023-07-05","fixed":"7.2.5","kev":false},{"cve":"CVE-2026-41242","published":"2026-04-18","fixed":"8.0.1","kev":false},{"cve":"CVE-2026-44288","published":"2026-05-13","fixed":"8.0.2","kev":false}],"package":"npm:protobufjs"}}