CVE-2022-24881
Last modified
CVE-2022-24881 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 2.91% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ballcat | Codegen | < 1.0.0 |
References
- https://github.com/ballcat-projects/ballcat-codegen/commit/84a7cb38daf0295b93aba21d562ec627e4eb463bPatch, Third Party Advisory
- https://github.com/ballcat-projects/ballcat-codegen/issues/5Issue Tracking, Patch, Third Party Advisory
- https://github.com/ballcat-projects/ballcat-codegen/security/advisories/GHSA-fv3m-xhqw-9m79Exploit, Patch, Third Party Advisory
- https://github.com/ballcat-projects/ballcat-codegen/commit/84a7cb38daf0295b93aba21d562ec627e4eb463bPatch, Third Party Advisory
- https://github.com/ballcat-projects/ballcat-codegen/issues/5Issue Tracking, Patch, Third Party Advisory
- https://github.com/ballcat-projects/ballcat-codegen/security/advisories/GHSA-fv3m-xhqw-9m79Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-24881?
How severe is CVE-2022-24881?
How do I fix CVE-2022-24881?
Are you affected by CVE-2022-24881?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
