CVE-2023-31136

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

Published May 9, 2023 CVSS 3.1 · 3.7 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-1513 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.
Github GHSA Github GHSA GHSA-9cfh-vx93-84vv PostgresNIO processes unencrypted bytes from man-in-the-middle
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 28, 2025, 5:05 PM
Reserved
Apr 24, 2023, 9:44 PM
Status
Modified
Published
May 9, 2023, 2:15 PM
Modified
Jun 17, 2026, 5:56 AM