fix(security): resolve Dependabot alerts and upgrade dependencies - #30
Merged
Merged
Conversation
… dependabot alerts
… and exifinterface
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.
Summary
This PR addresses all 12 open GitHub Dependabot security alerts by upgrading
russhto0.64.0andrussh-sftpto3.0.1, alongside modernizing key network protocol clients and AndroidX dependencies across the repository.Key Changes by Commit
fix(protocols): update russh to 0.64 and russh-sftp to 3.0 to resolve dependabot alertsGHSA-h5rc-j5f5-3gcm(CVE-2025-54804)GHSA-f5v4-2wr6-hqmg(CVE-2026-42189)GHSA-g9f8-wqj9-fjw5(CVE-2026-46673)GHSA-wwx6-x28x-8259(CVE-2026-46702)GHSA-hpv4-5h6f-wqr3(CVE-2026-46705)GHSA-g9g7-5cgw-6v28(CVE-2026-48107)GHSA-76r6-x97p-67vr(CVE-2026-48108)GHSA-4r3c-5hpg-58qr(CVE-2026-48110)GHSA-5xvq-cp9x-6p6r(CVE-2026-73430)GHSA-cqjc-rmpq-xprq(CVE-2026-73489)GHSA-g9hv-x236-4qp3(CVE-2026-73429)GHSA-m65r-rprj-r5rg(CVE-2026-68930)sftp/mod.rsto native asyncHandler,PublicKeyOrCertificate,PrivateKeyWithHashAlg, andAuthResult.async-traitdependency.feat(protocols): update suppaftp to 12.1.1 with self-finalizing streamssuppaftpfrom6to12.1.1.close_data_streaminftp/mod.rsto self-finalizingTransferStream::drop.from_mlsx_linewithListParser::parse_mlsd.feat(protocols): update smb2 to 0.27.0smb2from0.18to0.27.0.connect_options: NoneinClientConfig.feat(media-logic): update chardetng to 1.0.0chardetngfrom0.1to1.0.0.subtitle.rswithIso2022JpDetection::AllowandUtf8Detection::Allow.build(android): update androidx core, appcompat, material, coroutines and exifinterfaceandroidx.core:core-ktx:1.12.0->1.13.1(latest stable release compatible withcompileSdk 34).androidx.appcompat:appcompat:1.6.1->1.7.0.com.google.android.material:material:1.11.0->1.12.0.kotlinx-coroutines-android& test:1.7.3->1.8.1.androidx.exifinterface:exifinterface:1.3.7->1.4.0.androidx.room:2.6.1to maintain strict compatibility with Kotlin1.9.0and KSP.Validation Performed
cd rust && cargo clippy -p protocols -p media-logic -- -D warnings(passed, 0 warnings)cd rust && cargo test -p protocols -p media-logic(passed, 307 tests total: 83 protocols, 224 media-logic)./gradlew testDebugUnitTest(passed, 26 tasks executed/up-to-date)