Lucene search

K
cveGitHub_MCVE-2022-24881
HistoryApr 26, 2022 - 4:15 p.m.

CVE-2022-24881

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

CVSS2

7.5

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

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

9.9

Confidence

High

EPSS

0.013

Percentile

86.0%

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

Nvd
Vulners
Node
ballcatcodegenRange<1.0.0
VendorProductVersionCPE
ballcatcodegen*cpe:2.3:a:ballcat:codegen:*:*:*:*:*:*:*:*

CNA Affected

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

CVSS2

7.5

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

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

9.9

Confidence

High

EPSS

0.013

Percentile

86.0%

Related for CVE-2022-24881