RCE in Ballcat Codegen

CVE-2022-24881

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.030 (85.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-24881?
CVE-2022-24881 is a high-severity vulnerability in Ballcat Codegen, classified under Code Injection. CVSS score: 8.8/10. Published 2022-04-26.
How severe is CVE-2022-24881?
High severity. CVSS v3 base score is 8.8 out of 10.