{"schemaVersion":3,"id":"CVE-2022-25878","aliases":["GHSA-g954-5hwp-pp24"],"status":"published","duplicateOf":null,"title":null,"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","dates":{"published":"2022-05-27T20:00:15.716Z","modified":"2024-09-17T02:36:03.191Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02329,"percentile":0.83274,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.00899999999999998,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02338},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02293,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02293,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02293,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02329,"percentile":0.83274}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02338,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02357,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02293,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02293,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02293,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02329,"percentile":0.83274}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_D4A01597A63CF189","name":"Exploit Reference (snyk.io)","source":"reference","url":"https://snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_2BC0A8DAA7EE26CE","name":"Exploit Reference (snyk.io)","source":"reference","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","description":"The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1321.html"}],"affected":[{"vendor":"Npm","product":"protobufjs","name":"protobufjs","label":"protobufjs","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/protobufjs","purlType":"npm","versions":[{"text":"≥ 6.11.0, < 6.11.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.10.0, < 6.10.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.11.0, < 6.11.3 | ≥ 6.10.0, < 6.10.3","eol":null,"hubHref":null},{"vendor":"protobufjs_project","product":"protobufjs","name":"protobufjs","label":"protobufjs","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.11.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.11.3","eol":null,"hubHref":"/vendor/protobufjs_project/protobufjs"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248","label":"snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248","hostname":"snyk.io","tags":["X Refsource MISC","WEB","Exploit","Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507","label":"snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507","hostname":"snyk.io","tags":["X Refsource MISC","WEB","Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.js%23L176-L197","label":"github.com/protobufjs/…","hostname":"github.com","tags":["X Refsource MISC","WEB","Broken Link"]},{"url":"https://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f","label":"github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/protobufjs/protobuf.js/pull/1731","label":"github.com/protobufjs/protobuf.js/pull/1731","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25878","label":"nvd.nist.gov/vuln/detail/CVE-2022-25878","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/protobufjs/protobuf.js/pull/1735","label":"github.com/protobufjs/protobuf.js/pull/1735","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/protobufjs/protobuf.js","label":"github.com/protobufjs/protobuf.js","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-05-27T20:00:15.716Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T02:36:03.191Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T06:46:19.241Z","stale":false,"partial":false}}