CVE-2022-24881
ballcat-codegen template engine remote code execution injection
8.8
HIGH
CVSS 3.1
EPSS 4.7%
Description
### 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.
How to fix CVE-2022-24881
To remediate CVE-2022-24881, upgrade the affected package to a fixed version below.
- —upgrade to 1.0.0.beta.2 or later
Is CVE-2022-24881 being exploited?
Low — EPSS is 4.7%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 1.0.0.beta.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |