CVE-2024-39223 Missing key verification in gost

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
github.com/ginuerzh/gost GoAll versionsNone
github.com/ginuerzh/gost GoAll versions to 2.11.5None
github.com/ginuerzh/gost GoAll versions to 2.11.5None

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.

Is CVE-2024-39223 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free