Lucene search

K
cvelistGitHub_MCVELIST:CVE-2024-45390
HistorySep 03, 2024 - 7:37 p.m.

CVE-2024-45390 @blakeembrey/template vulnerable to code injection when attacker controls template input

2024-09-0319:37:31
CWE-94
GitHub_M
www.cve.org
5
template library
code injection
version 1.2.0 patch
untrusted input

CVSS3

7.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

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

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.

CNA Affected

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

CVSS3

7.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

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

EPSS

0.001

Percentile

40.4%

Related for CVELIST:CVE-2024-45390