原始 OSV JSON
{
"id": "GHSA-35jh-r3h4-6jhm",
"aliases": [
"CVE-2021-23337"
],
"details": "`lodash` versions prior to 4.17.21 are vulnerable to Command Injection via the template function.",
"summary": "Command Injection in lodash",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.17.21"
}
]
}
],
"package": {
"name": "lodash",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.17.21"
}
]
}
],
"package": {
"name": "lodash-es",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "4.5.0"
}
]
}
],
"package": {
"name": "lodash.template",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "1.0.0"
}
]
}
],
"package": {
"name": "lodash-template",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.17.21"
}
]
}
],
"package": {
"name": "lodash-rails",
"ecosystem": "RubyGems"
}
}
],
"modified": "2025-08-12T21:44:24Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2021-05-06T16:05:51Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23337",
"type": "ADVISORY"
},
{
"url": "https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpuoct2021.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpujan2022.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com//security-alerts/cpujul2021.html",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-LODASH-1040724",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074929",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074931",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074928",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074930",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074932",
"type": "WEB"
},
{
"url": "https://security.netapp.com/advisory/ntap-20210312-0006",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2021-23337.yml",
"type": "WEB"
},
{
"url": "https://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js#L14851",
"type": "WEB"
},
{
"url": "https://github.com/lodash/lodash",
"type": "PACKAGE"
},
{
"url": "https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-77",
"CWE-94"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-02-15T13:15:00Z",
"github_reviewed_at": "2021-03-31T23:59:26Z"
}
}