What’s Vulnerable › Vulnerabilities

CVE-2022-24881: Command Injection in Ballcat Codegen

Description

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 products

How to fix

Upgrade to a fixed version: ballcat-projects ballcat-codegen 1.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-24881 or the next vulnerability affects your stack