Skip to content
OpenAdvisories
High · 8.8 CVE-2022-24881 EUVD-2022-1726GHSA-fv3m-xhqw-9m79

Command Injection in Ballcat Codegen

Published Apr 26, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
ballcat-projects ballcat-codegen < 1.0.0.beta.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.hccake:ballcat-codegen < 1.0.0.beta.2 1.0.0.beta.2 GHSA-fv3m-xhqw-9m79

References