{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-23337","id":"CVE-2021-23337","title":"Command Injection","description":"Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.","descriptionLong":"Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.","published":"2021-02-15T12:15:14.715Z","updated":"2026-10-24T10:30:48.714407739Z","reserved":"2021-01-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C","rating":"high","source":"snyk"},"metrics":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C","rating":"high","source":"snyk"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"snyk.io"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Lodash"],"affectedProducts":[{"vendor":"n/a","product":"Lodash","defaultStatus":null,"versions":[{"status":"affected","version":"prior to 4.17.21"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"lodash","purl":"pkg:npm/lodash","ranges":["<4.17.21"],"fixed":["4.17.21"],"advisory":"GHSA-35jh-r3h4-6jhm"},{"ecosystem":"npm","name":"lodash-es","purl":"pkg:npm/lodash-es","ranges":["<4.17.21"],"fixed":["4.17.21"],"advisory":"GHSA-35jh-r3h4-6jhm"},{"ecosystem":"npm","name":"lodash.template","purl":"pkg:npm/lodash.template","ranges":["<=4.5.0"],"fixed":[],"advisory":"GHSA-35jh-r3h4-6jhm"},{"ecosystem":"npm","name":"lodash-template","purl":"pkg:npm/lodash-template","ranges":["<=1.0.0"],"fixed":[],"advisory":"GHSA-35jh-r3h4-6jhm"},{"ecosystem":"RubyGems","name":"lodash-rails","purl":"pkg:gem/lodash-rails","ranges":["<4.17.21"],"fixed":["4.17.21"],"advisory":"GHSA-35jh-r3h4-6jhm"}],"cwes":["CWE-94","CWE-77"],"aliases":["GHSA-35jh-r3h4-6jhm"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-LODASH-1040724","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074928","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074929","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074930","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074931","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074932","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js%23L14851","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://security.netapp.com/advisory/ntap-20210312-0006/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23337","tags":["advisory"]},{"url":"https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20210312-0006","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2021-23337.yml","tags":["web"]},{"url":"https://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js#L14851","tags":["web"]},{"url":"https://github.com/lodash/lodash","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.20158,"epssPercentile":0.97514,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-23337","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23337","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-23337","ok":true,"note":"5 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-35jh-r3h4-6jhm","ok":true,"note":"GHSA-35jh-r3h4-6jhm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-23337","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["ruby"],"critical":["EPSS 20% with CVSS 7.2"],"attention":null}