GitHub Advisoryadvisory · npm, RubyGems
GHSA-jf85-cpcp-j695 Prototype Pollution in lodash
CRITICAL
Official page ↗
- Aliases
- CVE-2019-10744
- Ecosystem
- npm, RubyGems
- Packages
- lodash, lodash-es, lodash-amd, lodash.defaultsdeep, lodash-rails
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Weaknesses
- CWE-1321, CWE-20
- Reviewed
- 2019-07-10
Affected packages
• npm lodash: < 4.17.12 → fixed in 4.17.12
• npm lodash-es: < 4.17.14 → fixed in 4.17.14
• npm lodash-amd: < 4.17.13 → fixed in 4.17.13
• npm lodash.defaultsdeep: < 4.6.1 → fixed in 4.6.1
• RubyGems lodash-rails: < 4.17.12 → fixed in 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
Alias · CVE (1)
- CVE-2019-10744 Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-10744 advisory
- https://github.com/lodash/lodash/pull/4336 web
- https://access.redhat.com/errata/RHSA-2019:3024 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2019-10744.yml web
- https://security.netapp.com/advisory/ntap-20191004-0005 web
- https://snyk.io/vuln/SNYK-JS-LODASH-450202 web
- https://support.f5.com/csp/article/K47105354?utm_source=f5support&%3Butm_medium=RSS web
- https://support.f5.com/csp/article/K47105354?utm_source=f5support&utm_medium=RSS web
- https://www.oracle.com/security-alerts/cpujan2021.html web
- https://www.oracle.com/security-alerts/cpuoct2020.html web