CVE-2024-22533
Beetl Server-Side Template Injection vulnerability
Description
Before Beetl v3.15.13.RELEASE, the rendering template has a server-side template injection (SSTI) vulnerability. When the incoming template is controllable, it will be filtered by the DefaultNativeSecurityManager blacklist. Because blacklist filtering is not strict, the blacklist can be bypassed, leading to arbitrary code execution.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.ibeetl » beetl-core | < 3.15.13.RELEASE | 3.15.13.RELEASE |
Blast radius
43% of the dependent artifacts (31) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 103 |
| 2 hops | 595 |
| 3 hops | 440 |
| 4 hops | 17 |
Most used dependents
- com.ibeetl » beetl257 usages
- com.github.shalousun » smart-doc15 usages
- com.ly.smart-doc » smart-doc10 usages
- com.ibeetl » beetl-ext8 usages
- com.github.shalousun » smart-doc-maven-plugin5 usages
- com.ibeetl » beetl-servlet-ext5 usages
- org.noear » solon.view.beetl4 usages
- com.ly.smart-doc » smart-doc-maven-plugin4 usages
- com.ibeetl » beetlsql-all3 usages
- com.github.davidfantasy » mybatis-plus-generator-ui3 usages
- cn.benma666 » myutils-spring-boot-starter3 usages
- com.kalman03 » apideploy-jakarta-javadoc-common2 usages
- com.ly.smart-doc » smart-doc-gradle-plugin2 usages
- com.kalman03 » apideploy-javadoc-common2 usages
- com.github.shalousun » smart-doc-gradle-plugin1 usages
Computed from the dependency graph of build 20261128.0605 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2024-22533 | nvd.nist.gov |
| Package | xiandafu/beetl | gitee.com |
| Web | xiandafu/beetl/issues/I8RU01 | gitee.com |
