Lucene search

K
cve[email protected]CVE-2022-24881
HistoryApr 26, 2022 - 4:15 p.m.

CVE-2022-24881

2022-04-2616:15:47
CWE-94
CWE-20
web.nvd.nist.gov
73
ballcat codegen
cve-2022-24881
remote code execution
template injection
vulnerability

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

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

9.9 High

AI Score

Confidence

High

0.01 Low

EPSS

Percentile

83.8%

Ballcat Codegen provides the function of online editing code to generate templates. In versions prior to 1.0.0.beta.2, attackers can implement remote code execution through malicious code injection of the template engine. This happens because Velocity and freemarker templates are introduced but input verification is not done. The fault is rectified in version 1.0.0.beta.2.

Affected configurations

Vulners
NVD
Node
ballcat-projectsballcat_codegenRange<1.0.0.beta.2
CPENameOperatorVersion
ballcat:codegenballcat codegenlt1.0.0

CNA Affected

[
  {
    "product": "ballcat-codegen",
    "vendor": "ballcat-projects",
    "versions": [
      {
        "status": "affected",
        "version": "< 1.0.0.beta.2"
      }
    ]
  }
]

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

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

9.9 High

AI Score

Confidence

High

0.01 Low

EPSS

Percentile

83.8%

Related for CVE-2022-24881