Fix critical security vulnerabilities: logback-core CVE-2025-11226 and KubernetesClient GHSA-w7r3-mgwf-4mqq - #271
Merged
Conversation
Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix security vulnerabilities in logback-core configuration
Fix critical security vulnerabilities: logback-core CVE-2025-11226 and KubernetesClient GHSA-w7r3-mgwf-4mqq
Oct 23, 2025
devstress
marked this pull request as ready for review
October 23, 2025 10:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR fixes all security vulnerabilities in the repository by updating vulnerable dependencies to their patched versions. Two vulnerabilities were identified and resolved:
Vulnerability Details
1. CVE-2025-11226: logback-core ACE Vulnerability
Severity: Critical
Component:
ch.qos.logback:logback-core(Maven dependency)Issue: Versions up to 1.5.18 contain an arbitrary code execution vulnerability in conditional configuration file processing, allowing attackers to execute arbitrary code by compromising logback configuration files or injecting malicious environment variables.
Fix Applied:
Updated both
logback-classicandlogback-corefrom 1.5.15 to 1.5.20 inFlinkIRRunner/pom.xml.2. GHSA-w7r3-mgwf-4mqq: KubernetesClient Certificate Validation
Severity: Moderate
Component:
KubernetesClient(transitive .NET dependency via Aspire)Issue: KubernetesClient versions 15.0.1 and 16.0.7 accept certificates from any CA without properly verifying the trust chain, enabling man-in-the-middle attacks and API impersonation.
Fix Applied:
Updated Aspire packages from 9.3.1 to 9.5.1 across all solutions, which transitively updates KubernetesClient to the patched version 17.0.14:
Also updated supporting dependencies to maintain compatibility:
Files Changed
FlinkIRRunner/pom.xmlTesting & Validation
✅ All builds passing: FlinkDotNet, BackPressureExample, LocalTesting
✅ All tests passing: No test failures, no regressions detected
✅ Security scans clean:
dotnet list package --vulnerable --include-transitive: No vulnerabilities foundmvn dependency:tree: All Maven dependencies secureVerification
Risk Assessment
Before: High risk with 1 critical and 1 moderate vulnerability
After: No known vulnerabilities - repository is secure
References
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.