Path traversal in the sshd-scp component of Apache MINA SSHD
Summary
Path traversal in the sshd-scp component of Apache MINA SSHD. Apache MINA SSHD is a Java library for client-side and server-side SSH. The implementation of receiving files or directories via SCP did not validate filenames in SCP "C" or "D" commands. A malicious sender could send filenames containing paths, resulting in files to be written in attacker-controlled places. The issue affects only * applications that use no longer supported Apache MINA SSHD versions < 2.0.0 and use the SCP functions to receive files, * or applications using sshd-scp in Apache MINA SSHD >= 2.0.0 to receive files. Applications using Apache MINA SSHD >= 2.0.0 not using sshd-scp are not affected. Affected applications are advised to upgrade to these versions.
What this means
In plain English
Path traversal in the sshd-scp component of Apache MINA SSHD. Apache MINA SSHD is a Java library for client-side and server-side SSH. The implementation of receiving files or directories via SCP did not validate filenames in SCP "C" or "D" commands. A malicious sender could send filenames containing paths, resulting in files to be written in attacker-controlled places. The issue affects only * applications that use no longer supported Apache MINA SSHD versions < 2.0.0 and use the SCP functions to receive files, * or applications using sshd-scp in Apache MINA SSHD >= 2.0.0 to receive files. Path traversal can escape an intended file location and expose files or directories available to the affected process.
Recommended action
Primary action: update to a vendor-listed fixed release: 2.19.0, 3.0.0. Vendor mitigation: Affected applications are advised to upgrade to these versions.
Rewritten locally from the scraped official advisory data above; no generative API is used. The vendor advisory is authoritative.
- 2.0.0
Official advisory · high-confidence parse· fetched 13 hours ago·verify at source
- 2.19.0
- 3.0.0
Official advisory · high-confidence parse· fetched 13 hours ago·verify at source
Mitigation checklist
- Affected applications are advised to upgrade to these versions.
Official advisory · high-confidence parse· fetched 13 hours ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.