Improper Input Validation in Deap
Date: 2022-05
Affected: npm/deap
Attack vector: other
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2018-3749
CWE: CWE-20
CVSS: 9.8 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

The utilities function in all versions < 1.0.1 of the deap node module can be tricked into modifying the prototype of Object when the attacker can control part of the structure passed to this function. This can let an attacker add or modify existing properties that will exist on all objects.


Mitigations:

Architectural layers (MAESTRO):