Lucene search

K
cveGitHub_MCVE-2024-45390
HistorySep 03, 2024 - 8:15 p.m.

CVE-2024-45390

2024-09-0320:15:08
CWE-94
GitHub_M
web.nvd.nist.gov
29
code injection
@blakeembrey/template
template name
version 1.2.0
patch
untrusted input
display name
security vulnerability

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

7.2

Confidence

High

EPSS

0.001

Percentile

40.4%

@blakeembrey/template is a string template library. Prior to version 1.2.0, it is possible to inject and run code within the template if the attacker has access to write the template name. Version 1.2.0 contains a patch. As a workaround, don’t pass untrusted input as the template display name, or don’t use the display name feature.

Affected configurations

Nvd
Vulners
Vulnrichment
Node
blakeembreytemplateRange<1.2.0node.js
VendorProductVersionCPE
blakeembreytemplate*cpe:2.3:a:blakeembrey:template:*:*:*:*:*:node.js:*:*

CNA Affected

[
  {
    "vendor": "blakeembrey",
    "product": "js-template",
    "versions": [
      {
        "version": "< 1.2.0",
        "status": "affected"
      }
    ]
  }
]

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

7.2

Confidence

High

EPSS

0.001

Percentile

40.4%

Related for CVE-2024-45390