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

    Threat Intelligence

    EPSS
    0.05% (17th 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 ID SNYK-GOLANG-GITHUBCOMGINUERZHGOST-7430195
  • published 7 Jul 2024
  • disclosed 3 Jul 2024
  • credit YueXi Zhang

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
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    Low
  • Availability (SA)
    None