Lucene search

K
vulnrichmentGitHub_MVULNRICHMENT: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
github.com
7
blakeembrey
template
code injection
vulnerability
fixed
v1.2.0
string template library
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

AI Score

7.2

Confidence

High

EPSS

0.001

Percentile

40.4%

SSVC

Exploitation

none

Automatable

yes

Technical Impact

partial

@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.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:blakeembrey:js-template:*:*:*:*:*:*:*:*"
    ],
    "vendor": "blakeembrey",
    "product": "js-template",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "1.2.0",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  }
]

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

AI Score

7.2

Confidence

High

EPSS

0.001

Percentile

40.4%

SSVC

Exploitation

none

Automatable

yes

Technical Impact

partial

Related for VULNRICHMENT:CVE-2024-45390