← Back
UBUNTU-CVE-2021-23337
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
AI summary snake-internal / snake-template-v1
A weakness called UBUNTU-CVE-2021-23337 was discovered in Lodash versions prior to.
Severity is Info. Low severity or not yet rated.
What you should do: update the affected software to the latest version. If unsure, ask your IT team or search the vendor's site for "Lodash versions prior to UBUNTU-CVE-2021-23337".
UBUNTU-CVE-2021-23337 (Lodash versions prior to). Severity: Info.
Response plan:
1. Check the vendor advisory for affected versions and the patched release.
2. If a vulnerable version is running in production, schedule maintenance (urgency from KEV/CVSS).
3. If no patch yet, mitigate via WAF rule, disabling the affected feature, etc.
4. Monitor logs / SIEM for known IOC and PoC signatures of this CVE.
PoCs and fix commits: see the 'References' section, MITRE, and NVD.
❓ What is the problem
A weakness (UBUNTU-CVE-2021-23337) in Lodash versions prior to. A serious software flaw has been identified.
📍 Affected scope
Target versions of Lodash versions prior to (see vendor advisory). If running in production, identify exposure immediately.
🔥 Severity
Severity: Info. Low severity or not yet rated.
🔧 How to fix
Update to the patched release as listed in the vendor advisory.
🛡️ Workaround
If a patch is not yet available, consider disabling the affected feature, applying WAF rules, blocking via network ACLs, or isolating the vulnerable version.
🔍 Detection
Check version information, scan dependencies via SBOM, and monitor SIEM for IOC and PoC signatures related to this CVE.
Affected packages
Ubuntu:16.04:LTS
node-lodash
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:18.04:LTS
node-lodash
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:20.04:LTS
node-lodash
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:22.04:LTS
node-lodash
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:24.04:LTS
node-lodash
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:25.10
node-lodash
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:26.04:LTS
node-lodash
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:Pro:16.04:LTS
node-lodash
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1+dfsg-3ubuntu0.1~esm1"}]}]
Ubuntu:Pro:18.04:LTS
node-lodash
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.17.4+dfsg-1ubuntu0.1~esm1"}]}]
Ubuntu:Pro:20.04:LTS
node-lodash
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.17.15+dfsg-2ubuntu0.1~esm1"}]}]
References
- advisory https://ubuntu.com/security/notices/USN-8411-1
- report https://ubuntu.com/security/CVE-2021-23337
- report https://snyk.io/vuln/SNYK-JS-LODASH-1040724
- report https://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js%23L14851
- report https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074932
- report https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074930
- report https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074928
- report https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074931
- report https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074929
- report https://www.cve.org/CVERecord?id=CVE-2021-23337