Description
C-Kermit 8.0.200 before 11.1.515 contains a buffer overflow vulnerability in getreply() in ckcftp.c that allows malicious FTP servers to overwrite client memory by sending overlong security replies. Attackers controlling or intercepting an FTP server can send long PBSZ replies after AUTH TLS, or long ADAT replies in GSSAPI, Kerberos 4, and SRP builds, overflowing the static reply_buf with attacker-controlled bytes.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenKermit | C-Kermit | 8.0.200 – < 11.1.515 | 11.1.515 |
References
- GitHub Security Advisory (GHSA-c5px-7h4c-gj8p) vendor-advisory
- https://github.com/OpenKermit/ckermit/commit/39ab009a365b97632e9975e1266fa618c4bdc59f patch
- https://github.com/OpenKermit/ckermit/commit/bec28a4d544031fa07a07aacba3df5dd1202ef69 patch
- C-Kermit v11.1.515 Release Notes release-notes
- https://github.com/OpenKermit/ckermit/blob/v11.0.514/ckcftp.c#L11161 technical-description
- VulnCheck Advisory: C-Kermit 8.0.200 before 11.1.515 FTP Client Buffer Overflow via PBSZ and ADAT Replies third-party-advisory