The Wire · Showcase
ANDROID SSL VALIDATION BYPASS PATCHED; WASM JIT ALIGNMENT FIXES BLOCKER
By RepoJournal · Filed · About .NET
SslStream on Android was ignoring platform certificate pinning entirely, bypassing network_security_config.xml and allowing rejected certificates through.
SslStream bypassed Android's X509TrustManager completely [1], meaning certificate pinning and custom trust anchors were silently ignored while RemoteCertificateValidationCallback always reported success. This is a critical fix for any Xamarin.Android or .NET MAUI app relying on platform security configuration. On the JIT side, a Wasm register parameter fix [2] unblocks the caller-side this-drop issue that was stalling browser workloads, with minimal binary impact (28 bytes across affected contexts). The dotnet/macios team aligned with runtime's new SYSTEM_CORELIB_DIRECTORY property [3], fixing scenarios where coreclr and System.Private.CoreLib.dll aren't colocated. A teardown crash fix [4] resolved intermittent arm/arm64 segfaults in the cDAC GC stress framework that occurred after all verification completed. Separately, macios optimized assembly-preparer to skip preserve/mark steps when trimming is disabled [5], and fixed stale build failure comments lingering on PRs after successful re-runs [6].
Action items
- → If shipping Android: pull SslStream fix immediately and retest certificate pinning scenarios dotnet/runtime [immediate]
- → Monitor Wasm workload PRs for this-drop regressions; blocker is now cleared dotnet/runtime [monitor]
- → If building .NET on macOS/iOS: apply SYSTEM_CORELIB_DIRECTORY alignment to your host config dotnet/macios [plan]
References
- [1] [Android] Respect platform trust manager in SslStream ↗ dotnet/runtime
- [2] JIT: always home register params on wasm (#130446) dotnet/runtime
- [3] [runtime] Use SYSTEM_CORELIB_DIRECTORY to locate System.Private.CoreLib.dll (#26009) dotnet/macios
- [4] Fix intermittent teardown crash in the cDAC GC stress framework (#130526) dotnet/runtime
- [5] [assembly-preparer] Don't run the preserve/optimize/mark steps when not trimming. (#26014) dotnet/macios
- [6] [build] Hide stale build failure comment when a re-run succeeds (#26012) dotnet/macios