CVE-2021-23358

Aliases:GHSA-cf4h-3jhx-xvhq
Modified
Published: 29 Mar 2021, 13:15
Last modified:03 Nov 2025, 21:44

Vulnerability Summary

Overall Risk (default)
medium
39/100
CVSS Score
7.2 HIGH
v3.1 (nvd)
EPSS Score
1.45% LOW
1% probability +0.02%
KEV
Not listed
Ransomware
No reports
Public exploits
4 found
Dark Web
Not detected

Timeline

29 Mar 2021, 13:15
Published
Vulnerability first disclosed
03 Nov 2025, 21:44
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1LOWScore: 3.3CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C
  • v3.1HIGHScore: 7.2CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • v3.1CRITICALScore: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • v2.0MEDIUMScore: 6.5AV:N/AC:L/Au:S/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 1.45% Percentile: 81%

Techniques & Countermeasures

  • CWE-94Improper Control of Generation of Code ('Code Injection')

    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.

Affected Systems

  • debiandebian_linux

    9.0 | 10.0

  • fedoraprojectfedora

    33 | 34

  • Npmunderscore

    ≥ 1.3.2, < 1.12.1

  • tenabletenable.sc

    ≤ 5.18.0

  • underscorejsunderscore

    ≥ 1.3.2, < 1.12.1 | ≥ 1.13.0-0, < 1.13.0-2

References (35)