Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:gem/lodash-rails@2.2.1
purl pkg:gem/lodash-rails@2.2.1
Next non-vulnerable version 4.17.21
Latest non-vulnerable version 4.17.21
Risk 4.5
Vulnerabilities affecting this package (5)
Vulnerability Summary Fixed by
VCID-dzeb-zu9x-g3bq
Aliases:
CVE-2019-10744
GHSA-jf85-cpcp-j695
Prototype Pollution in lodash 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.
4.17.12
Affected by 0 other vulnerabilities.
VCID-e3y9-r7uz-pkfg
Aliases:
CVE-2020-28500
GHSA-29mw-wpgm-hmr9
Regular Expression Denial of Service (ReDoS) in lodash All versions of package lodash prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the `toNumber`, `trim` and `trimEnd` functions. Steps to reproduce (provided by reporter Liyuan Chen): ```js var lo = require('lodash'); function build_blank(n) { var ret = "1" for (var i = 0; i < n; i++) { ret += " " } return ret + "1"; } var s = build_blank(50000) var time0 = Date.now(); lo.trim(s) var time_cost0 = Date.now() - time0; console.log("time_cost0: " + time_cost0); var time1 = Date.now(); lo.toNumber(s) var time_cost1 = Date.now() - time1; console.log("time_cost1: " + time_cost1); var time2 = Date.now(); lo.trimEnd(s); var time_cost2 = Date.now() - time2; console.log("time_cost2: " + time_cost2); ```
4.17.21
Affected by 0 other vulnerabilities.
VCID-fhw1-4c1k-sfh3
Aliases:
CVE-2021-23337
GHSA-35jh-r3h4-6jhm
Command Injection in lodash `lodash` versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
4.17.21
Affected by 0 other vulnerabilities.
VCID-s532-7mp1-kyeb
Aliases:
CVE-2018-16487
GHSA-4xc9-xhrj-v574
Prototype Pollution in lodash Versions of `lodash` before 4.17.11 are vulnerable to prototype pollution. The vulnerable functions are 'defaultsDeep', 'merge', and 'mergeWith' which allow 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.
4.17.11
Affected by 4 other vulnerabilities.
VCID-sxth-92xw-zbea
Aliases:
CVE-2018-3721
GHSA-fvqr-27wr-82fm
Prototype Pollution in lodash Versions of `lodash` before 4.17.5 are vulnerable to prototype pollution. The vulnerable functions are 'defaultsDeep', 'merge', and 'mergeWith' which allow 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.
4.17.5
Affected by 6 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T21:22:21.224142+00:00 GitLab Importer Affected by VCID-fhw1-4c1k-sfh3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2021-23337.yml 38.4.0
2026-04-16T20:56:01.799355+00:00 GitLab Importer Affected by VCID-dzeb-zu9x-g3bq https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2019-10744.yml 38.4.0
2026-04-16T20:51:40.088746+00:00 GitLab Importer Affected by VCID-s532-7mp1-kyeb https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2018-16487.yml 38.4.0
2026-04-16T20:46:42.662190+00:00 GitLab Importer Affected by VCID-sxth-92xw-zbea https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2018-3721.yml 38.4.0
2026-04-16T17:38:44.791828+00:00 Ruby Importer Affected by VCID-e3y9-r7uz-pkfg https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2020-28500.yml 38.4.0
2026-04-16T17:37:56.449779+00:00 Ruby Importer Affected by VCID-dzeb-zu9x-g3bq https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2019-10744.yml 38.4.0
2026-04-16T17:37:53.667251+00:00 Ruby Importer Affected by VCID-s532-7mp1-kyeb https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-16487.yml 38.4.0
2026-04-16T17:37:49.476637+00:00 Ruby Importer Affected by VCID-sxth-92xw-zbea https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-3721.yml 38.4.0
2026-04-16T01:44:01.854030+00:00 GHSA Importer Affected by VCID-fhw1-4c1k-sfh3 https://github.com/advisories/GHSA-35jh-r3h4-6jhm 38.4.0
2026-04-11T22:34:54.083041+00:00 GitLab Importer Affected by VCID-fhw1-4c1k-sfh3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2021-23337.yml 38.3.0
2026-04-11T22:07:03.359433+00:00 GitLab Importer Affected by VCID-dzeb-zu9x-g3bq https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2019-10744.yml 38.3.0
2026-04-11T22:02:25.506090+00:00 GitLab Importer Affected by VCID-s532-7mp1-kyeb https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2018-16487.yml 38.3.0
2026-04-11T21:57:30.898220+00:00 GitLab Importer Affected by VCID-sxth-92xw-zbea https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2018-3721.yml 38.3.0
2026-04-11T21:35:48.366370+00:00 Ruby Importer Affected by VCID-e3y9-r7uz-pkfg https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2020-28500.yml 38.3.0
2026-04-11T21:34:56.326778+00:00 Ruby Importer Affected by VCID-dzeb-zu9x-g3bq https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2019-10744.yml 38.3.0
2026-04-11T21:34:51.666208+00:00 Ruby Importer Affected by VCID-s532-7mp1-kyeb https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-16487.yml 38.3.0
2026-04-11T21:34:46.703463+00:00 Ruby Importer Affected by VCID-sxth-92xw-zbea https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-3721.yml 38.3.0
2026-04-11T13:13:14.285787+00:00 GHSA Importer Affected by VCID-fhw1-4c1k-sfh3 https://github.com/advisories/GHSA-35jh-r3h4-6jhm 38.3.0
2026-04-02T22:46:01.231012+00:00 GitLab Importer Affected by VCID-fhw1-4c1k-sfh3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2021-23337.yml 38.1.0
2026-04-02T22:19:50.544909+00:00 GitLab Importer Affected by VCID-dzeb-zu9x-g3bq https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2019-10744.yml 38.1.0
2026-04-02T22:15:29.845679+00:00 GitLab Importer Affected by VCID-s532-7mp1-kyeb https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2018-16487.yml 38.1.0
2026-04-02T22:10:52.995761+00:00 GitLab Importer Affected by VCID-sxth-92xw-zbea https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2018-3721.yml 38.1.0
2026-04-02T19:34:05.142373+00:00 Ruby Importer Affected by VCID-e3y9-r7uz-pkfg https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2020-28500.yml 38.1.0
2026-04-02T19:33:12.772902+00:00 Ruby Importer Affected by VCID-dzeb-zu9x-g3bq https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2019-10744.yml 38.1.0
2026-04-02T19:33:09.002509+00:00 Ruby Importer Affected by VCID-s532-7mp1-kyeb https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-16487.yml 38.1.0
2026-04-02T19:33:05.237444+00:00 Ruby Importer Affected by VCID-sxth-92xw-zbea https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-3721.yml 38.1.0
2026-04-02T14:04:38.284364+00:00 GHSA Importer Affected by VCID-fhw1-4c1k-sfh3 https://github.com/advisories/GHSA-35jh-r3h4-6jhm 38.1.0
2026-04-01T17:03:55.269903+00:00 GitLab Importer Affected by VCID-fhw1-4c1k-sfh3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2021-23337.yml 38.0.0
2026-04-01T16:37:37.363478+00:00 GitLab Importer Affected by VCID-dzeb-zu9x-g3bq https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2019-10744.yml 38.0.0
2026-04-01T16:32:58.066354+00:00 GitLab Importer Affected by VCID-s532-7mp1-kyeb https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2018-16487.yml 38.0.0
2026-04-01T16:28:12.737206+00:00 GitLab Importer Affected by VCID-sxth-92xw-zbea https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/lodash-rails/CVE-2018-3721.yml 38.0.0
2026-04-01T15:50:59.223281+00:00 Ruby Importer Affected by VCID-e3y9-r7uz-pkfg https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2020-28500.yml 38.0.0
2026-04-01T15:50:10.128886+00:00 Ruby Importer Affected by VCID-dzeb-zu9x-g3bq https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2019-10744.yml 38.0.0
2026-04-01T15:50:07.210855+00:00 Ruby Importer Affected by VCID-s532-7mp1-kyeb https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-16487.yml 38.0.0
2026-04-01T15:50:02.114178+00:00 Ruby Importer Affected by VCID-sxth-92xw-zbea https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-3721.yml 38.0.0