{"id":"CVE-2022-31106","summary":"Prototype Pollution in underscore.deep","details":"Underscore.deep is a collection of Underscore mixins that operate on nested objects. Versions of `underscore.deep` prior to version 0.5.3 are vulnerable to a prototype pollution vulnerability. An attacker can craft a malicious payload and pass it to `deepFromFlat`, which would pollute any future Objects created. Any users that have `deepFromFlat` or `deepPick` (due to its dependency on `deepFromFlat`) in their code should upgrade to version 0.5.3 as soon as possible. Users unable to upgrade may mitigate this issue by modifying `deepFromFlat` to prevent specific keywords which will prevent this from happening.","aliases":["GHSA-8j79-hfj5-f2xm"],"modified":"2026-08-12T03:51:39.402391020Z","published":"2022-06-28T17:30:14Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1321","CWE-915"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31106.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31106.json"},{"type":"ADVISORY","url":"https://github.com/Clever/underscore.deep/security/advisories/GHSA-8j79-hfj5-f2xm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31106"},{"type":"FIX","url":"https://github.com/Clever/underscore.deep/commit/b5e109ad05b48371be225fa4d490dd08a94e8ef7"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/clever/underscore.deep","events":[{"introduced":"0"},{"fixed":"b5e109ad05b48371be225fa4d490dd08a94e8ef7"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:clever:underscore.deep:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.5.3"}]}}],"versions":["v0.4.0","v0.3.0","v0.2.0","v0.1.0","v0.0.5","v0.0.4","v0.0.3","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31106.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"}]}