CRITICAL 9.8
CVE-2021-43466
Template injection in thymeleaf-spring5
Description
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.thymeleaf » thymeleaf-spring5 | < 3.0.13.RELEASE | 3.0.13.RELEASE |
Blast radius
1affected artifacts
12affected versions
1,416dependent artifacts (est.)
23,005dependent versions
45% of the dependent artifacts (638) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,462 |
| 2 hops | 10,999 |
| 3 hops | 7,657 |
| 4 hops | 1,861 |
| 5 hops | 452 |
| 6 hops | 574 |
Most used dependents
- org.springframework.boot » spring-boot-starter-thymeleaf1,159 usages
- org.apereo.cas » cas-server-core-web-api288 usages
- org.apereo.cas » cas-server-core-services280 usages
- org.apereo.cas » cas-server-core-web212 usages
- org.apereo.cas » cas-server-core-tickets182 usages
- org.apereo.cas » cas-server-core-services-authentication155 usages
- org.apereo.cas » cas-server-core-webflow153 usages
- org.apereo.cas » cas-server-core-webflow-api150 usages
- org.apereo.cas » cas-server-core135 usages
- org.apereo.cas » cas-server-core-tickets-api134 usages
- org.apereo.cas » cas-server-core-logout126 usages
- org.apereo.cas » cas-server-core-logout-api121 usages
- org.apereo.cas » cas-server-core-services-registry112 usages
- org.apereo.cas » cas-server-support-person-directory109 usages
- org.apereo.cas » cas-server-core-cookie-api103 usages
Computed from the dependency graph of build 20261125.0317 (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-2021-43466 | nvd.nist.gov |
| Package | thymeleaf/thymeleaf-spring | github.com |
| Web | thymeleaf/thymeleaf-spring issue #263 | github.com |
| Web | wayne_wwang/wayne_wwang/blob/master/2021/10/31/ruoyi thymeleaf-rce/index.html | gitee.com |
| Web | advisory/ntap-20221014-0001 | security.netapp.com |
| Web | vuldb.com | vuldb.com |
