CVE-2023-31136

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

MEDIUM
5.9
CVSS Score
Published: May 9, 2023 at 01:37 PM UTC
Updated: June 17, 2026 at 05:56 AM UTC
1 product affected across 1 vendorPostgresnio

Using postgres-nio by vapor?

Get instant alerts when new vulnerabilities affect postgres-nio - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.14.2
Affected range stops below 1.14.2, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-522

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card