GHSA-35jh-r3h4-6jhm

Suggest an improvement
Source
https://github.com/advisories/GHSA-35jh-r3h4-6jhm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-35jh-r3h4-6jhm/GHSA-35jh-r3h4-6jhm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-35jh-r3h4-6jhm
Aliases
Downstream
Published
2021-05-06T16:05:51Z
Modified
2026-09-10T03:49:04Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Command Injection in lodash
Details

lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.

Database specific
{
    "cwe_ids": [
        "CWE-77",
        "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-03-31T23:59:26Z",
    "nvd_published_at": "2021-02-15T13:15:00Z",
    "severity": "HIGH"
}
References

Affected packages

npm / lodash

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.17.21

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-35jh-r3h4-6jhm/GHSA-35jh-r3h4-6jhm.json"

npm / lodash-es

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.17.21

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-35jh-r3h4-6jhm/GHSA-35jh-r3h4-6jhm.json"

npm / lodash.template

Package

Name
lodash.template
View open source insights on deps.dev
Purl
pkg:npm/lodash.template

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
4.5.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-35jh-r3h4-6jhm/GHSA-35jh-r3h4-6jhm.json"

npm / lodash-template

Package

Name
lodash-template
View open source insights on deps.dev
Purl
pkg:npm/lodash-template

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-35jh-r3h4-6jhm/GHSA-35jh-r3h4-6jhm.json"

RubyGems / lodash-rails

Package

Name
lodash-rails
Purl
pkg:gem/lodash-rails

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.17.21

Affected versions

0.*
0.7.0
0.8.1
0.8.2
0.9.0
0.9.1
0.9.2
0.10.0
1.*
1.0.0.rc.1
1.0.0.rc.2
1.0.0.rc.3
1.0.1
1.1.0
1.1.1
1.2.0
1.2.1
1.3.1
2.*
2.0.0
2.1.0
2.2.0
2.2.1
2.3.0
2.4.0
2.4.1
3.*
3.1.0
3.2.0
3.3.0
3.3.1
3.3.1.1
3.4.0
3.5.0
3.6.0
3.7.0
3.9.3
3.10.0
3.10.1
4.*
4.0.0
4.3.0
4.5.1
4.6.1
4.11.2
4.12.0
4.13.1
4.14.1
4.15.0
4.16.1
4.16.3
4.16.4
4.16.6
4.17.2
4.17.4
4.17.5
4.17.10
4.17.11
4.17.14
4.17.15

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-35jh-r3h4-6jhm/GHSA-35jh-r3h4-6jhm.json"