Skip to content
OpenAdvisories
Low · 3.3 Public exploit CVE-2021-23358 EUVD-2021-1042GHSA-cf4h-3jhx-xvhq

Arbitrary Code Injection

Published Mar 29, 2021 · Updated Nov 3, 2025 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— underscore 1.13.0-0 – < unspecified, unspecified – < 1.13.0-2, 1.3.2 – < unspecified, unspecified – < 1.12.1 unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 underscore 1.9.1~dfsg-2 —
Debian 13 underscore 1.9.1~dfsg-2 —
Debian 12 underscore 1.9.1~dfsg-2 —
Debian 10 underscore 1.9.1~dfsg-1+deb10u1 DSA-4883-1
Debian 9 underscore 1.8.3~dfsg-1+deb9u1 DLA-2613-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS underscore 1.9.1~dfsg-1ubuntu0.20.04.1 USN-4913-1
Ubuntu 18.04 LTS underscore 1.8.3~dfsg-1ubuntu0.1 USN-4913-1
Ubuntu 16.04 LTS underscore 1.7.0~dfsg-1ubuntu1.1 USN-4913-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS underscore 1.4.4-2ubuntu1+esm1 USN-4913-1
ReleasePackageFixed inAdvisory
Red Hat Rhev Manager 4 ovirt-engine-ui-extensions 1.2.7-1.el8ev RHSA-2022:6393, RHSA-2021:2865
Red Hat Rhev Manager 4 ovirt-log-collector 4.4.7-2.el8ev RHSA-2022:6393
Red Hat Rhev Manager 4 ovirt-web-ui 1.9.1-1.el8ev RHSA-2022:6393
Red Hat Rhev Manager 4 rhvm +19 4.5.2.4-0.1.el8ev RHSA-2022:6393
Red Hat Ceph Storage 7 ceph +25 2:18.2.1-381.el8cp RHSA-2026:2769
Red Hat Ceph Storage 7 cephadm 2:18.2.1-381.el9cp RHSA-2026:2769
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs-underscore 1.13.1-1.3 openSUSE-SU-2024:11095-1
openSUSE Leap 15.2 nodejs-underscore 1.13.1-lp152.4.3.1 openSUSE-SU-2021:0601-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 js-jquery No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm underscore >= 1.3.2, < 1.12.1 1.12.1 GHSA-cf4h-3jhx-xvhq

Advisories 13

References