CVE-2021-23358
published low CVSS 3.1 · 3.3Arbitrary Code Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | underscore1.13.0-0 to < unspecified · unspecified to < 1.13.0-2 · 1.3.2 to < unspecified · unspecified to < 1.12.1 | Affected | Not stated | snyk |
| Debian | buster | underscore | Advisory build | 1.9.1~dfsg-1+deb10u1 | DSA-4883-1 |
| Ubuntu | bionic | underscore | Advisory build | 1.8.3~dfsg-1ubuntu0.1 | USN-4913-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | nodejs-underscorenoarch | Advisory build | 1.13.1-lp152.4.3.1 | OPENSUSE-SU-2021:0601-1 |
| Debian | stretch | underscore | Advisory build | 1.8.3~dfsg-1+deb9u1 | DLA-2613-1 |
| Ubuntu | esm | underscore | Advisory build | 1.4.4-2ubuntu1+esm1 | USN-4913-1 |
| Ubuntu | focal | underscore | Advisory build | 1.9.1~dfsg-1ubuntu0.20.04.1 | USN-4913-1 |
| Ubuntu | xenial | underscore | Advisory build | 1.7.0~dfsg-1ubuntu1.1 | USN-4913-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-underscoreaarch64 | Advisory build | 1.13.1-1.3 | OPENSUSE-SU-2024:11095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-underscoreppc64le | Advisory build | 1.13.1-1.3 | OPENSUSE-SU-2024:11095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-underscores390x | Advisory build | 1.13.1-1.3 | OPENSUSE-SU-2024:11095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-underscorex86_64 | Advisory build | 1.13.1-1.3 | OPENSUSE-SU-2024:11095-1 |
| Ubuntu | bionic | libjs-underscore | Advisory build | 1.8.3~dfsg-1ubuntu0.1 | USN-4913-1 |
| Ubuntu | bionic | node-underscore | Advisory build | 1.8.3~dfsg-1ubuntu0.1 | USN-4913-1 |
| Ubuntu | esm | libjs-underscore | Advisory build | 1.4.4-2ubuntu1+esm1 | USN-4913-1 |
| Ubuntu | esm | node-underscore | Advisory build | 1.4.4-2ubuntu1+esm1 | USN-4913-1 |
| Ubuntu | focal | libjs-underscore | Advisory build | 1.9.1~dfsg-1ubuntu0.20.04.1 | USN-4913-1 |
| Ubuntu | focal | node-underscore | Advisory build | 1.9.1~dfsg-1ubuntu0.20.04.1 | USN-4913-1 |
| Ubuntu | xenial | libjs-underscore | Advisory build | 1.7.0~dfsg-1ubuntu1.1 | USN-4913-1 |
| Ubuntu | xenial | node-underscore | Advisory build | 1.7.0~dfsg-1ubuntu1.1 | USN-4913-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.3 / 10
- Severity
- low
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | underscore | 1.13.0-0 to < unspecified (affected · custom)unspecified to < 1.13.0-2 (affected · custom)1.3.2 to < unspecified (affected · custom)unspecified to < 1.12.1 (affected · custom) | snyk · cna |
Weaknesses
1- Arbitrary Code Injection
References
18- http://seclists.org/fulldisclosure/2025/Apr/14
- https://github.com/jashkenas/underscore/blob/master/modules/template.js%23L71
- [cordova-issues] 20210414 [GitHub] [cordova-common] breautek commented on issue #163: Security Vulnerability in underscore <= 1.12.0 CVE-2021-23358 https://lists.apache.org/thread.html/r5df90c46f7000c4aab246e947f62361ecfb849c5a553dcdb0ef545e1%40%3Cissues.cordova.apache.org%3E
- [cordova-issues] 20210414 [GitHub] [cordova-common] RichardMcSorley edited a comment on issue #163: Security Vulnerability in underscore <= 1.12.0 CVE-2021-23358 https://lists.apache.org/thread.html/r770f910653772317b117ab4472b0a32c266ee4abbafda28b8a6f9306%40%3Cissues.cordova.apache.org%3E
- [cordova-issues] 20210414 [GitHub] [cordova-common] RichardMcSorley opened a new issue #163: Security Vulnerability in underscore <= 1.12.0 CVE-2021-23358 https://lists.apache.org/thread.html/raae088abdfa4fbd84e1d19d7a7ffe52bf8e426b83e6599ea9a734dba%40%3Cissues.cordova.apache.org%3E
- [cordova-issues] 20210414 [GitHub] [cordova-common] RichardMcSorley commented on issue #163: Security Vulnerability in underscore <= 1.12.0 CVE-2021-23358 https://lists.apache.org/thread.html/rbc84926bacd377503a3f5c37b923c1931f9d343754488d94e6f08039%40%3Cissues.cordova.apache.org%3E
- [cordova-issues] 20210414 [GitHub] [cordova-common] breautek closed issue #163: Security Vulnerability in underscore <= 1.12.0 CVE-2021-23358 https://lists.apache.org/thread.html/re69ee408b3983b43e9c4a82a9a17cbbf8681bb91a4b61b46f365aeaf%40%3Cissues.cordova.apache.org%3E
- [debian-lts-announce] 20210331 [SECURITY] [DLA 2613-1] underscore security update https://lists.debian.org/debian-lts-announce/2021/03/msg00038.html
- FEDORA-2021-e49f936d9f https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EOKATXXETD2PF3OR36Q5PD2VSVAR6J5Z/
- FEDORA-2021-f278299902 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FGEE7U4Z655A2MK5EW4UQQZ7B64XJWBV/
- https://security.netapp.com/advisory/ntap-20240808-0003/
- https://security.netapp.com/advisory/ntap-20241108-0002/
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1081504
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBJASHKENAS-1081505
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1081503
- https://snyk.io/vuln/SNYK-JS-UNDERSCORE-1080984
- DSA-4883 https://www.debian.org/security/2021/dsa-4883
- https://www.tenable.com/security/tns-2021-14
Provider assertions
3snyk · cna
Arbitrary Code Injection
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f13122c73890a57e5472952f5e30b35059c31eab4a91199b432fa8aec2ee2b3e
- Ingested
- 23 Sep 2026, 07:52:52 UTC
- Source record
- Official CVE record