CVE-2021-23358
Underscorejs Underscore vulnerability
The package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Injection via the template function, particularly when a variable property is passed as an argument as it is not sanitized.
Affected products
Underscore, Debian Linux, Tenable.sc, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Underscorejs Underscore runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- nvd.nist.gov/vuln/detail/CVE-2021-23358
- github.com/jashkenas/underscore/pull/2917
- github.com/jashkenas/underscore/commit/4c73526d43838ad6ab43a6134728776632adeb66
- github.com/jashkenas/underscore/releases/tag/1.12.1
- snyk.io/vuln/SNYK-JS-UNDERSCORE-1080984
- www.npmjs.com/package/underscore
- github.com/jashkenas/underscore/blob/master/modules/template.js%23L71
- lists.debian.org/debian-lts-announce/2021/03/msg00038.html
- nvd.nist.gov/vuln/detail/CVE-2021-23358
- cve.org/CVERecord?id=CVE-2021-23358
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.