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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-24876GLPI is a Free Asset and IT Management Software package, tha…5.4
- CVE-2022-24877Flux is an open and extensible continuous delivery solution …8.8
- CVE-2022-24878Flux is an open and extensible continuous delivery solution …6.5
- CVE-2022-24879Shopware is an open source e-commerce software platform. Ver…7.5
- CVE-2022-2488A vulnerability was found in WAVLINK WN535K2 and WN535K3 and…9.8
- CVE-2022-24880flask-session-captcha is a package which allows users to ext…5.3
- CVE-2022-24882FreeRDP is a free implementation of the Remote Desktop Proto…7.5
- CVE-2022-24883FreeRDP is a free implementation of the Remote Desktop Proto…9.8
- CVE-2022-24884ecdsautils is a tiny collection of programs used for ECDSA (…7.5
- CVE-2022-24885Nextcloud Android app is the Android client for Nextcloud, a…2.4
- CVE-2022-24886Nextcloud Android app is the Android client for Nextcloud, a…3.8
- CVE-2022-24887Nextcloud Talk is a video and audio conferencing app for Nex…6.1
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
