Skip to content

Upgrade SnakeYAML while retaining Java 8 support - #252

Open
realTaki wants to merge 1 commit into
FederatedAI:masterfrom
realTaki:upstream/java8-snakeyaml-security
Open

realTaki wants to merge 1 commit into
FederatedAI:masterfrom
realTaki:upstream/java8-snakeyaml-security

Conversation

@realTaki

Copy link
Copy Markdown

Updates SnakeYAML to 2.7 for GHSA-mjmj-j48q-9wg2 and Spring Boot to 2.7.18 for SnakeYAML 2.x compatibility without raising the Java 8 minimum. The Admin security starter now excludes the default logging binding to preserve the existing Log4j2 setup.

Validation on Temurin Java 8: Maven verify passed for 11 modules (frontend Node/npm steps skipped), including three YAML regressions. Fresh Server, Proxy, and Admin release ZIPs started and used values read from YAML with a disposable local ZooKeeper instance. Both the patch and unchanged upstream hit a pre-existing HTTP 404 in the frontend Node download, so this PR does not change the frontend build or claim frontend coverage.

Use SnakeYAML 2.7 for CVE-2022-1471 and Spring Boot 2.7.18 for compatible YAML configuration loading. Keep Admin on its configured Log4j2 stack by excluding the default logging starter from the security dependency.

Cover Boot profile-specific YAML loading, rejection of unknown YAML tags, and nested YAML conversion with Jackson.
@realTaki
realTaki marked this pull request as ready for review November 19, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant