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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.27% (69th 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-SWIFT-VAPORPOSTGRESNIO-5507294
  • published10 May 2023
  • disclosed9 May 2023
  • creditfabianfett, gwynne

Introduced: 9 May 2023

CVE-2023-31136  (opens in a new tab)
CWE-924  (opens in a new tab)

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.

CVSS Scores

version 3.1