{ "schema_version": "1.4.0", "id": "GHSA-w3x5-427h-wfq6", "modified": "2022-12-09T20:19:32Z", "published": "2022-12-09T20:19:32Z", "aliases": [ "CVE-2022-46166" ], "summary": "Spring Boot Admins integrated notifier support allows arbitrary code execution", "details": "### Impact\nAll 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.\n\n### Patches\nIn 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).\n\n### Workarounds\n * Disable any notifier\n * Disable write access (POST request) on `/env` actuator endpoint\n\n", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "Maven", "name": "de.codecentric:spring-boot-admin" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "2.6.10" } ] } ] }, { "package": { "ecosystem": "Maven", "name": "de.codecentric:spring-boot-admin" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "2.7.0" }, { "fixed": "2.7.8" } ] } ] }, { "package": { "ecosystem": "Maven", "name": "de.codecentric:spring-boot-admin" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "3.0.0-M1" }, { "fixed": "3.0.0-M6" } ] } ] } ], "references": [ { "type": "WEB", "url": "https://github.com/codecentric/spring-boot-admin/security/advisories/GHSA-w3x5-427h-wfq6" }, { "type": "PACKAGE", "url": "https://github.com/codecentric/spring-boot-admin" } ], "database_specific": { "cwe_ids": [ "CWE-94" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2022-12-09T20:19:32Z", "nvd_published_at": "2022-12-09T21:15:00Z" } }