{"id":"CVE-2020-7766","state":"PUBLISHED","title":"Prototype Pollution","description":"This affects all versions of package json-ptr. The issue occurs in the set operation (https://flitbit.github.io/json-ptr/classes/_src_pointer_.jsonpointer.htmlset) when the force flag is set to true. The function recursively set the property in the target object, however it does not properly check the key being set, leading to a prototype pollution.","publishedAt":"2020-11-10T15:35:15.894Z","updatedAt":"2024-09-16T22:14:07.645Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","source":"snyk"},"assigner":"snyk","products":["n/a json-ptr"],"affected":[{"vendor":"n/a","product":"json-ptr","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]}],"references":["https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396","https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174"],"weaknesses":[],"ingestedAt":"2026-10-29T19:47:41.446Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/7xxx/CVE-2020-7766.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-7766","state":"PUBLISHED","datePublished":"2020-11-10T15:35:15.894Z","dateUpdated":"2024-09-16T22:14:07.645Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2020-01-21T00:00:00.000Z"},"containers":{"cna":{"title":"Prototype Pollution","descriptions":[{"lang":"en","value":"This affects all versions of package json-ptr. The issue occurs in the set operation (https://flitbit.github.io/json-ptr/classes/_src_pointer_.jsonpointer.htmlset) when the force flag is set to true. The function recursively set the property in the target object, however it does not properly check the key being set, leading to a prototype pollution."}],"affected":[{"vendor":"n/a","product":"json-ptr","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396","tags":["x_refsource_MISC"]},{"url":"https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","exploitCodeMaturity":"PROOF_OF_CONCEPT","integrityImpact":"LOW","privilegesRequired":"NONE","remediationLevel":"OFFICIAL_FIX","reportConfidence":"CONFIRMED","scope":"UNCHANGED","temporalScore":6.6,"temporalSeverity":"MEDIUM","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Prototype Pollution","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2020-11-10T15:35:15.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"Alessio Della Libera (d3lla)"}],"datePublic":"2020-11-10T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2020-11-10T15:33:00.131346Z","ID":"CVE-2020-7766","STATE":"PUBLIC","TITLE":"Prototype Pollution"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"json-ptr","version":{"version_data":[{"version_affected":">=","version_value":"0"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"Alessio Della Libera (d3lla)"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"This affects all versions of package json-ptr. The issue occurs in the set operation (https://flitbit.github.io/json-ptr/classes/_src_pointer_.jsonpointer.htmlset) when the force flag is set to true. The function recursively set the property in the target object, however it does not properly check the key being set, leading to a prototype pollution."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Prototype Pollution"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939"},{"name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396"},{"name":"https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174","refsource":"MISC","url":"https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T09:41:01.327Z"}}]}}}