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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.032 (87.7th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 87.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-24881: held from 0.030 to 0.032.

EPSS over last 30 days · oldest: 0.030 · newest: 0.032 · change: +0.002

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.