CVE-2024-39223 Missing key verification in gost
Attackers can bypass SSH authentication and intercept communications if the HostKeyCallback is configured to ignore host keys.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-39223?
CVE-2024-39223 is a critical authentication bypass vulnerability in n/a, published on 3 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An authentication bypass in the SSH service of gost v2.11.5 allows attackers to intercept communications via setting the HostKeyCallback function to ssh.InsecureIgnoreHostKey
Weakness: CWE-639
Which versions are affected by CVE-2024-39223?
3 open source packages ship an affected version, including github.com/ginuerzh/gost.
| Package | Affected | Fixed in |
|---|---|---|
github.com/ginuerzh/gost Go | All versions | None |
github.com/ginuerzh/gost Go | All versions to 2.11.5 | None |
github.com/ginuerzh/gost Go | All versions to 2.11.5 | None |
How do I fix CVE-2024-39223?
Apply the vendor's patch.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2024-39223 being exploited?
There is no known exploitation of CVE-2024-39223 in the wild and no public exploit code.
Sources
Also known as GHSA-8wxx-35qc-vp6r, GO-2024-3224, UBUNTU-CVE-2024-39223.