{"id":"CVE-2022-25878","aliases":["CVE-2022-25878","GHSA-g954-5hwp-pp24"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","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","source":"cvelist"},{"lang":"en","text":"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","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete protobufjs antes de la versión 6.11.3 es vulnerable a la Contaminación de Prototipos que puede permitir a un atacante añadir/modificar propiedades del Object.prototype. Esta vulnerabilidad puede ocurrir de múltiples maneras 1. proporcionando entradas de usuario no fiables a las funciones util.setProperty o ReflectionObject.setParsedOption 2. analizando/cargando archivos .proto","source":"nvd"}],"published":"2022-05-27T20:00:15.716Z","modified":"2026-06-17T04:34:25.867Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"6.11.3","status":"affected"}],"product":"protobufjs","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.11.0","status":"affected","fixed":"6.11.3"}],"ecosystem":"npm","package":"protobufjs","purl":"pkg:npm/protobufjs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"6.10.0","status":"affected","fixed":"6.10.3"}],"ecosystem":"npm","package":"protobufjs","purl":"pkg:npm/protobufjs","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.11.3"}],"vendor":"protobufjs_project","product":"protobufjs","cpe":"cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.js%23L176-L197","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/protobufjs/protobuf.js/pull/1731","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25878","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/protobufjs/protobuf.js/pull/1735","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/protobufjs/protobuf.js","tags":["package"],"sources":["ghsa"]}],"credits":["Alessio Della Libera from Snyk"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25878","url":"https://www.cve.org/CVERecord?id=CVE-2022-25878","licence":"CVE Terms of Use","modified":"2024-09-17T02:36:03.191Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g954-5hwp-pp24","url":"https://github.com/advisories/GHSA-g954-5hwp-pp24","licence":"CC-BY-4.0","modified":"2025-01-14T10:57:13.409Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25878","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25878","licence":"Public domain","modified":"2026-06-17T04:34:25.867Z"}],"updatedAt":"2026-11-25T22:58:11.999Z","epss":{"score":0.02329,"percentile":0.83992,"date":"2026-12-01T12:00:22.000Z"}}