{"id":"CVE-2022-25878","state":"PUBLISHED","title":"Prototype Pollution","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","publishedAt":"2022-05-27T20:00:15.716Z","updatedAt":"2024-09-17T02:36:03.191Z","severity":{"score":8.2,"label":"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","source":"snyk"},"assigner":"snyk","products":["n/a protobufjs"],"affected":[{"vendor":"n/a","product":"protobufjs","versions":[{"version":"unspecified","status":"affected","lessThan":"6.11.3","versionType":"custom"}]}],"references":["https://snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507","https://github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.js%23L176-L197","https://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f","https://github.com/protobufjs/protobuf.js/pull/1731"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:46.971Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/25xxx/CVE-2022-25878.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-25878","state":"PUBLISHED","datePublished":"2022-05-27T20:00:15.716Z","dateUpdated":"2024-09-17T02:36:03.191Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2022-02-24T00:00:00.000Z"},"containers":{"cna":{"title":"Prototype Pollution","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"n/a","product":"protobufjs","versions":[{"version":"unspecified","status":"affected","lessThan":"6.11.3","versionType":"custom"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"NONE","exploitCodeMaturity":"PROOF_OF_CONCEPT","integrityImpact":"HIGH","privilegesRequired":"NONE","remediationLevel":"NOT_DEFINED","reportConfidence":"NOT_DEFINED","scope":"UNCHANGED","temporalScore":7.8,"temporalSeverity":"HIGH","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Prototype Pollution","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2022-05-27T20:00:15.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"Alessio Della Libera from Snyk"}],"datePublic":"2022-05-27T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-05-27T20:00:01.523115Z","ID":"CVE-2022-25878","STATE":"PUBLIC","TITLE":"Prototype Pollution"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"protobufjs","version":{"version_data":[{"version_affected":"<","version_value":"6.11.3"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"Alessio Della Libera from Snyk"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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"}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Prototype Pollution"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248"},{"name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507"},{"name":"https://github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.js%23L176-L197","refsource":"MISC","url":"https://github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.js%23L176-L197"},{"name":"https://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f","refsource":"MISC","url":"https://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f"},{"name":"https://github.com/protobufjs/protobuf.js/pull/1731","refsource":"MISC","url":"https://github.com/protobufjs/protobuf.js/pull/1731"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.js%23L176-L197","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/protobufjs/protobuf.js/pull/1731","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:49:44.360Z"}}]}}}