High, CVSS 8.0MavenPublished
Spring Boot Admins integrated notifier support allows arbitrary code execution
CVE-2022-46166 · GHSA-w3x5-427h-wfq6
- Affected
- Maven de.codecentric:spring-boot-admin < 2.6.10; >= 2.7.0, < 2.7.8; >= 3.0.0-M1, < 3.0.0-M6
- Fixed in
- 3.0.0-M62.6.102.7.8· Vendor fix available
- Issue
- Impact All users who run Spring Boot Admin Server, having enabled Notifiers (e.g. Teams-Notifier) and write access to environment variables via UI are possibly affected. Patches In the most recent releases of Spring Boot Admin 2.6.10 and 2.7.8 the issue is fixed by implementing SimpleExecutionContext of SpEL. This prevents the arbitrary code execution (i.e. SpEL injection). Workarounds Disable any notifier Disable write access (POST request) on /env actuator endpoint
Recommended action: Upgrade to 3.0.0-M6 (pre-release), 2.7.8 or 2.6.10 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.