Improper Enforcement of Message Integrity During Transmission in a Communication Channel Affecting github.com/vapor/postgres-nio package, versions <1.14.2


0.0
medium

Snyk CVSS

    Attack Complexity High
    Confidentiality High

    Threat Intelligence

    EPSS 0.11% (45th percentile)
Expand this section
NVD
5.9 medium

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-SWIFT-VAPORPOSTGRESNIO-5507294
  • published 10 May 2023
  • disclosed 9 May 2023
  • credit fabianfett, gwynne

How to fix?

Upgrade vapor/postgres-nio to version 1.14.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Enforcement of Message Integrity During Transmission in a Communication Channel when the connection to servers with TLS enabled, a man-in-the-middle attacker can inject false responses to the client's first few queries. Exploiting this vulnerability is possible despite the use of TLS certificate verification and encryption.