High, CVSS 8.8MavenPublished
ballcat-codegen template engine remote code execution injection
CVE-2022-24881 · GHSA-fv3m-xhqw-9m79
- Affected
- Maven com.hccake:ballcat-codegen <= 1.0.0.beta.1
- Fixed in
- 1.0.0.beta.2· Vendor fix available
- Issue
- Impact Ballcat Codegen provides the function of online editing code to generate templates. In version < 1.0.0.beta.2, since Velocity and freemarker templates are introduced but input verification is not done, attackers can implement remote code execution through malicious code injection of the template engine. Patches The fault is rectified and needs to be upgraded to the latest version.
Recommended action: Upgrade to 1.0.0.beta.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.