CVE-2022-24881 – com.hccake:ballcat-codegen
Package
Manager: maven
Name: com.hccake:ballcat-codegen
Vulnerable Version: >=0 <1.0.0.beta.2
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.04696 pctl0.88937
Details
ballcat-codegen template engine remote code execution injection ### 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.
Metadata
Created: 2022-04-27T21:05:15Z
Modified: 2022-04-27T21:05:15Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-fv3m-xhqw-9m79/GHSA-fv3m-xhqw-9m79.json
CWE IDs: ["CWE-20", "CWE-78"]
Alternative ID: GHSA-fv3m-xhqw-9m79
Finding: F004
Auto approve: 1