Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. de.codecentric/spring-boot-admin-server
  4. ›
  5. CVE-2022-46166

CVE-2022-46166: Improper Control of Generation of Code ('Code Injection')

December 9, 2022 (updated November 9, 2023)

Spring boot admins is an open source administrative user interface for management of spring boot applications. All users who run Spring Boot Admin Server, having enabled Notifiers (e.g. Teams-Notifier) and write access to environment variables via UI are affected. Users are advised to upgrade to the most recent releases of Spring Boot Admin 2.6.10 and 2.7.8 to resolve this issue. Users unable to upgrade may disable any notifier or disable write access (POST request) on /env actuator endpoint.

References

  • github.com/codecentric/spring-boot-admin/commit/c14c3ec12533f71f84de9ce3ce5ceb7991975f75
  • github.com/codecentric/spring-boot-admin/security/advisories/GHSA-w3x5-427h-wfq6
  • nvd.nist.gov/vuln/detail/CVE-2022-46166

Code Behaviors & Features

Detect and mitigate CVE-2022-46166 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.6.10, all versions starting from 2.7.0 before 2.7.8, version 3.0.0

Fixed versions

  • 2.6.10
  • 2.7.8

Solution

Upgrade to versions 2.6.10, 2.7.8 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/de.codecentric/spring-boot-admin-server/CVE-2022-46166.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:58 +0000.