CVE-2021-23358

Summary

CVECVE-2021-23358
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-03-29 14:15:00 UTC
Updated2023-11-07 03:30:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-94

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Application Tenable Tenable.sc All All All All
Application Underscorejs Underscore All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 34 Update: nodejs-underscore-1.13.1-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Pony Mail! MLIST lists.apache.org
[cordova-issues] 20210414 [GitHub] [cordova-common] RichardMcSorley opened a new issue #163: Security Vulnerability in underscore <= 1.12.0 CVE-2021-23358 lists.apache.org
[SECURITY] [DLA 2613-1] underscore security update MLIST lists.debian.org
[cordova-issues] 20210414 [GitHub] [cordova-common] RichardMcSorley commented on issue #163: Security Vulnerability in underscore <= 1.12.0 CVE-2021-23358 lists.apache.org
Debian -- Security Information -- DSA-4883-1 underscore DEBIAN www.debian.org
Pony Mail! MLIST lists.apache.org
[SECURITY] Fedora 33 Update: nodejs-underscore-1.13.1-1.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Invalid vulnerability MISC snyk.io
[SECURITY] Fedora 33 Update: nodejs-underscore-1.13.1-1.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Invalid vulnerability MISC snyk.io
Pony Mail! MLIST lists.apache.org
Pony Mail! MLIST lists.apache.org
[R1] Tenable.sc 5.19.0 Fixes Multiple Third-party Vulnerabilities - Security Advisory | Tenable® CONFIRM www.tenable.com
[cordova-issues] 20210414 [GitHub] [cordova-common] RichardMcSorley edited a comment on issue #163: Security Vulnerability in underscore <= 1.12.0 CVE-2021-23358 lists.apache.org
Invalid vulnerability MISC snyk.io
[cordova-issues] 20210414 [GitHub] [cordova-common] breautek commented on issue #163: Security Vulnerability in underscore <= 1.12.0 CVE-2021-23358 lists.apache.org
github.com/jashkenas/underscore/blob/master/modules/template.js%23L71 MISC github.com
snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1081503 MISC snyk.io
Pony Mail! MLIST lists.apache.org
[SECURITY] Fedora 34 Update: nodejs-underscore-1.13.1-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[cordova-issues] 20210414 [GitHub] [cordova-common] breautek closed issue #163: Security Vulnerability in underscore <= 1.12.0 CVE-2021-23358 lists.apache.org
underscore/template.js at master · jashkenas/underscore · GitHub MITRE github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: Alessio Della Libera (@d3lla)

Legacy QID Mappings

  • 151020 Vulnerable JavaScript Library Detected - Underscore.js
  • 178509 Debian Security Update for underscore (DLA 2613-1)
  • 178519 Debian Security Update for underscore (DSA 4883-1)
  • 179637 Debian Security Update for underscore (CVE-2021-23358)
  • 198330 Ubuntu Security Notification for Underscore vulnerability (USN-4913-1)
  • 198346 Ubuntu Security Notification for Underscore vulnerability (USN-4913-2)
  • 281840 Fedora Security Update for nodejs (FEDORA-2021-e49f936d9f)
  • 281841 Fedora Security Update for nodejs (FEDORA-2021-f278299902)
  • 730170 Atlassian Jira Server And Data Center Security Update (JRASERVER-72643,JRASERVER-72474)
  • 730475 Atlassian Confluence Arbitrary Code Injection Vulnerability (CONFSERVER-74276)
  • 750252 OpenSUSE Security Update for nodejs-underscore (openSUSE-SU-2021:0601-1)
  • 981501 Nodejs (npm) Security Update for underscore (GHSA-cf4h-3jhx-xvhq)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report