CVE Vulnerabilities

CVE-2018-3721

Modification of Assumed-Immutable Data (MAID)

Published: Jun 07, 2018 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:N/I:P/A:N
RedHat/V2
RedHat/V3
2.9 LOW
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of Object via proto, causing the addition or modification of an existing property that will exist on all objects.

Weakness

The product does not properly protect an assumed-immutable element from being modified by an attacker.

Affected Software

NameVendorStart VersionEnd Version
LodashLodash*4.17.5 (excluding)
Red Hat Quay 3RedHatquay/quay-rhel8:v3.6.0-62*
Node-lodashUbuntuartful*
Node-lodashUbuntubionic*
Node-lodashUbuntucosmic*
Node-lodashUbuntuesm-apps/bionic*
Node-lodashUbuntuesm-apps/xenial*
Node-lodashUbuntuupstream*
Node-lodashUbuntuxenial*

Potential Mitigations

References