Improper Validation of Certificate with Host Mismatch Affecting github.com/ginuerzh/gost package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGINUERZHGOST-7430195
  • published7 Jul 2024
  • disclosed3 Jul 2024
  • creditYueXi Zhang

Introduced: 3 Jul 2024

CVE-2024-39223  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

There is no fixed version for github.com/ginuerzh/gost.

Overview

github.com/ginuerzh/gost is a simple Go security tunnel

Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch in the Handshake() functions, which use ssh.InsecureIgnoreHostKey(). This could enable MitM attacks by allowing traffic from spoofed hosts.

CVSS Scores

version 4.0
version 3.1