Skip to content
OpenAdvisories
Low · 3.7 CVE-2023-31136 EUVD-2023-1513GHSA-9cfh-vx93-84vv

PostgresNIO processes unencrypted bytes from man-in-the-middle

Published May 9, 2023 · Updated Jan 28, 2025 · Assigned by GitHub_M

Description

PostgresNIO is a Swift client for PostgreSQL. Any user of PostgresNIO prior to version 1.14.2 connecting to servers with TLS enabled is vulnerable to a man-in-the-middle attacker injecting false responses to the client's first few queries, despite the use of TLS certificate verification and encryption. The vulnerability is addressed in PostgresNIO versions starting from 1.14.2. There are no known workarounds for unpatched users.

Affected products

VendorProductAffectedFixed
vapor postgres-nio < 1.14.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
SwiftURL github.com/vapor/postgres-nio < 1.14.2 1.14.2 GHSA-9cfh-vx93-84vv

References