Improper certificate validation in Apache MINA SSHD (server-side)
Summary
Improper certificate validation in Apache MINA SSHD (server-side). Apache MINA SSHD is a Java library for client-side and server-side SSH. As a result it was possible that a user could authenticate with such a certificate that included a force-command option but still was able to execute other commands. What other command exactly would be available to the user depends on the implementation of the server. This issue is fixed in Apache MINA SSHD 2.19.0 and 3.0.0-M5. Applications are advised to upgrade to these versions. The fix rejects OpenSSH user certificates that include these options, since Apache MINA SSHD implements neither force-command nor sk-*-cert-v01@openssh.com user certificates (which are the only ones for which verify-required would make sense).
What this means
In plain English
Improper certificate validation in Apache MINA SSHD (server-side). Apache MINA SSHD is a Java library for client-side and server-side SSH. As a result it was possible that a user could authenticate with such a certificate that included a force-command option but still was able to execute other commands. What other command exactly would be available to the user depends on the implementation of the server. This issue is fixed in Apache MINA SSHD 2.19.0 and 3.0.0-M5. Applications are advised to upgrade to these versions.
Recommended action
Primary action: update to a vendor-listed fixed release: 2.19.0, 3.0.0. Vendor mitigation: 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.
- Apache MINA SSHD 2.0.0 through 2.18.0
- Apache MINA SSHD 3.0.0-M1 through 3.0.0-M4
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
- 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.