Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

hierynomus/sshj
master @ cfa4872
7
Fixes
1
CVEs
HIGH
Peak severity
42.9%
Coverage
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
OpenSSHKeyV1KeyFile: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: Insecure handling of the initial unencrypted handshake allowed Man-in-the-Middle attackers to inject or strip packets, leading to downgraded security features via the Terrapin attack. Developers must ensure strict key exchange sequence enforcement.
Auth Bypass: Failing to validate key derivation formats could lead to silent decryption failures or unsafe fallbacks on newer PuTTY v3 keys. It is critical to explicitly reject unsupported key derivation functions like Argon2id.
Auth Bypass: Host key certificates were previously accepted during key exchange without rigorous validation of the certificate structure or association, allowing machine-in-the-middle impersonation.