CVE-2023-31136 LOW

CVE-2023-31136: PostgresNIO processes unencrypted bytes from man-in-the-middle

Vendor Vapor
Product postgres-nio
Weakness CWE-522 · Insufficiently protected credentials
Published May 9, 2023
Last update January 28, 2025

CVSS base score

3.7/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality Low
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 9, 2023 CVE published
January 28, 2025 Record updated