Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ginuerzh/gost
  4. ›
  5. CVE-2024-39223

CVE-2024-39223: Missing key verification in gost

July 3, 2024 (updated October 25, 2024)

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

References

  • gist.github.com/nyxfqq/a7242170b1118e78436a62dee4e09e8a
  • github.com/advisories/GHSA-8wxx-35qc-vp6r
  • github.com/ginuerzh/gost
  • github.com/ginuerzh/gost/blob/729d0e70005607dc7c69fc1de62fd8fe21f85355/ssh.go
  • github.com/ginuerzh/gost/issues/1034
  • nvd.nist.gov/vuln/detail/CVE-2024-39223

Code Behaviors & Features

Detect and mitigate CVE-2024-39223 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.11.5

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-289: Authentication Bypass by Alternate Name
  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

go/github.com/ginuerzh/gost/CVE-2024-39223.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:03 +0000.