Skip to content
OpenAdvisories
Medium · 6.5 CVE-2018-3721 EUVD-2018-0265GHSA-fvqr-27wr-82fm

Prototype Pollution in lodash

Published Jun 7, 2018 · Updated Sep 16, 2024 · Assigned by hackerone

Description

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.

Affected products

VendorProductAffectedFixed
HackerOne lodash node module Versions before 4.17.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-lodash 4.17.11+dfsg-1 —
Debian 13 node-lodash 4.17.11+dfsg-1 —
Debian 12 node-lodash 4.17.11+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS node-lodash No fix yet —
Ubuntu Pro 16.04 LTS node-lodash No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 js-jquery No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm lodash < 4.17.5 4.17.5 GHSA-fvqr-27wr-82fm
RubyGems lodash-rails < 4.17.5 4.17.5 GHSA-fvqr-27wr-82fm

References