RubySec

Providing security resources for the Ruby community

CVE-2019-10744 (lodash-rails): Prototype Pollution in lodash

Prototype Pollution in lodash

Published: July 10, 2019

SECURITY IDENTIFIERS

GEM

lodash-rails

SEVERITY

CVSS v3.x: 9.1 (Critical)

CVSS v2.0: 6.4 (Medium)

PATCHED VERSIONS

>= 4.17.12

DESCRIPTION

Versions of lodash before 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep allows a malicious user to modify the prototype of Object via {constructor: {prototype: {...}}} causing the addition or modification of an existing property that will exist on all objects.

Recommendation

Update to version 4.17.12 or later.

RELATED