Skip to content

Migrate jsch 0.1.54 to maintained fork (com.github.mwiede) #2159

@github-actions

Description

@github-actions

Migrate jsch 0.1.54 to maintained fork

Parent Issue: #2139 (Category 1: Critical - End-of-Life Libraries)
Current: com.jcraft:jsch:0.1.54 (pom.xml line 857)
Status: ⚠️ Unmaintained - latest is 0.1.55 (2018)
Last Update: 2016 (0.1.54), 2018 (0.1.55)
Priority: 🔴 High

Why Replace

  • Original JSch abandoned by author
  • Community fork maintained by mwiede has security fixes
  • Used by Spring Integration SFTP (pom.xml line 454)
  • 9 years without security updates

Replacement

Target: com.github.mwiede:jsch:0.2.19+ (actively maintained fork)

Migration Effort: Low (drop-in replacement)

Migration Path

<!-- OLD -->
<dependency>
    <groupId>com.jcraft</groupId>
    <artifactId>jsch</artifactId>
    <version>0.1.54</version>
</dependency>

<!-- NEW -->
<dependency>
    <groupId>com.github.mwiede</groupId>
    <artifactId>jsch</artifactId>
    <version>0.2.19</version>
</dependency>

Impact

  • SSH/SFTP connections
  • Used by Spring Integration SFTP module
  • Package names remain same: com.jcraft.jsch
  • Drop-in replacement

Action Items

  • Update pom.xml with new groupId and version
  • Test SSH/SFTP functionality
  • Verify Spring Integration SFTP still works
  • Test file transfers
  • All unit tests pass
  • Integration tests pass

Security Note

The mwiede fork includes critical security fixes not present in original jsch 0.1.54/0.1.55.


Generated from dependency analysis in #2139

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions