CVE-2022-31106

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:clever:underscore.deep:*:*:*:*:*:node.js:*:*

History

08 Jul 2022, 13:40

Type Values Removed Values Added
CWE CWE-915
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
CPE cpe:2.3:a:clever:underscore.deep:*:*:*:*:*:node.js:*:*
First Time Clever
Clever underscore.deep
References (MISC) https://github.com/Clever/underscore.deep/commit/b5e109ad05b48371be225fa4d490dd08a94e8ef7 - (MISC) https://github.com/Clever/underscore.deep/commit/b5e109ad05b48371be225fa4d490dd08a94e8ef7 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/Clever/underscore.deep/security/advisories/GHSA-8j79-hfj5-f2xm - (CONFIRM) https://github.com/Clever/underscore.deep/security/advisories/GHSA-8j79-hfj5-f2xm - Exploit, Issue Tracking, Patch, Third Party Advisory

28 Jun 2022, 18:22

Type Values Removed Values Added
New CVE

Information

Published : 2022-06-28 18:15

Updated : 2023-12-10 14:22


NVD link : CVE-2022-31106

Mitre link : CVE-2022-31106

CVE.ORG link : CVE-2022-31106


JSON object : View

Products Affected

clever

  • underscore.deep
CWE
CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

CWE-915

Improperly Controlled Modification of Dynamically-Determined Object Attributes