CVE-2021-23358

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.

Summary:

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.

Reference Links(if available):

  • https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBJASHKENAS-1081505
  • https://github.com/jashkenas/underscore/blob/master/modules/template.js%23L71
  • https://snyk.io/vuln/SNYK-JS-UNDERSCORE-1080984
  • https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1081504
  • https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1081503
  • CVSS Score (if available)

    v2: / MEDIUMAV:N/AC:L/Au:N/C:P/I:P/A:P

    v3: / HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

    Links to Exploits(if available)