HIGH 7.5

CVE-2023-38286

Spring-boot-admin sandbox bypass via crafted HTML

Description

Thymeleaf through 3.1.1.RELEASE as used in spring-boot-admin (aka Spring Boot Admin) through 3.1.1 allows for a sandbox bypass via crafted HTML. This may be relevant for SSTI (Server Side Template Injection) and code execution in spring-boot-admin if MailNotifier is enabled and there is write access to environment variables via the UI.

Spring Boot Admin 3.1.2 and 2.7.16 contain mitigations for the issue. This bypass is achived via a library called Thymeleaf which has added counter measures for this sort of bypass in version 3.1.2.RELEASE which has explicity forbidden static access to org.springframework.util in expressions. Thymeleaf itself should not be considered vulnerable.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
de.codecentric » spring-boot-admin-server
< 2.7.16>= 3.0.0, < 3.1.2
2.7.16, 3.1.2

Blast radius

1affected artifacts
103affected versions
74dependent artifacts (est.)
1,400dependent versions

71% of the dependent artifacts (53) still pull an affected version in their latest release.

DepthDependent versions
Direct
611
2 hops
753
3 hops
22
4 hops
12
5 hops
2

Most used dependents

Computed from the dependency graph of build 20261125.2201 (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.