{"id":"UBUNTU-CVE-2021-23337","details":"Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.","modified":"2026-06-09T21:15:39.452313261Z","published":"2021-02-15T13:15:00Z","related":["USN-8411-1"],"upstream":["CVE-2021-23337"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-23337"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JS-LODASH-1040724"},{"type":"REPORT","url":"https://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js%23L14851"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074932"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074930"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074928"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074931"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074929"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-23337"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8411-1"}],"affected":[{"package":{"name":"node-lodash","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/node-lodash?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1+dfsg-3ubuntu0.1~esm1"}]}],"versions":["2.4.1+dfsg-3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"libjs-lodash","binary_version":"2.4.1+dfsg-3ubuntu0.1~esm1"},{"binary_name":"node-lodash","binary_version":"2.4.1+dfsg-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23337.json"}},{"package":{"name":"node-lodash","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/node-lodash?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.17.4+dfsg-1ubuntu0.1~esm1"}]}],"versions":["4.17.4+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-lodash","binary_version":"4.17.4+dfsg-1ubuntu0.1~esm1"},{"binary_name":"node-lodash","binary_version":"4.17.4+dfsg-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23337.json"}},{"package":{"name":"node-lodash","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/node-lodash?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.17.15+dfsg-2ubuntu0.1~esm1"}]}],"versions":["4.17.11+dfsg-4","4.17.15+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-lodash","binary_version":"4.17.15+dfsg-2ubuntu0.1~esm1"},{"binary_version":"4.17.15+dfsg-2ubuntu0.1~esm1","binary_name":"node-lodash"},{"binary_name":"node-lodash-packages","binary_version":"4.17.15+dfsg-2ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23337.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}