underscore up to 1.12.0/1.13.0-1 Template an code injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.8 | $0-$5k | 0.00 |
Summary
A vulnerability was found in underscore up to 1.12.0/1.13.0-1. It has been classified as critical. This vulnerability affects unknown code of the component Template Handler. The manipulation of the argument an leads to an unknown weakness. This vulnerability is documented as CVE-2021-23358. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is recommended.
Details
A vulnerability, which was classified as critical, has been found in underscore up to 1.12.0/1.13.0-1. This issue affects an unknown code block of the component Template Handler. The manipulation of the argument an with an unknown input leads to a unknown weakness. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The weakness was released 03/29/2021 as SNYK-JS-UNDERSCORE-1080984. It is possible to read the advisory at snyk.io. The identification of this vulnerability is CVE-2021-23358. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1059 according to MITRE ATT&CK.
The vulnerability scanner Nessus provides a plugin with the ID 216853 (Atlassian Jira Service Management Data Center and Server 10.3.1 (JSDSERVER-15978)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.12.1 or 1.13.0-2 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (216853). Be aware that VulDB is the high quality source for vulnerability data.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.8
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.2
NVD Vector: 🔍
CNA Base Score: 3.3
CNA Vector (Snyk): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 216853
Nessus Name: Atlassian Jira Service Management Data Center and Server 10.3.1 (JSDSERVER-15978)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: underscore 1.12.1/1.13.0-2
Patch: github.com
Timeline
01/08/2021 🔍03/29/2021 🔍
03/29/2021 🔍
11/04/2025 🔍
Sources
Advisory: SNYK-JS-UNDERSCORE-1080984Status: Confirmed
CVE: CVE-2021-23358 (🔍)
GCVE (CVE): GCVE-0-2021-23358
GCVE (VulDB): GCVE-100-171911
Entry
Created: 03/29/2021 19:21Updated: 11/04/2025 04:09
Changes: 03/29/2021 19:21 (38), 04/06/2021 12:26 (5), 04/06/2021 12:33 (8), 02/27/2025 02:16 (17), 11/04/2025 04:09 (26)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.