CVE-2023-31136Insufficiently Protected Credentials in Postgresnio

Severity
5.9MEDIUMNVD
GHSA8.1OSV8.1
EPSS
0.2%
top 57.85%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 9
Latest updateMay 10

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.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 2.2 | Impact: 3.6

Affected Packages3 packages

NVDvapor/postgresnio< 1.14.2
CVEListV5vapor/postgres-nio< 1.14.2

Patches

🔴Vulnerability Details

2
GHSA
PostgresNIO processes unencrypted bytes from man-in-the-middle2023-05-10
OSV
PostgresNIO processes unencrypted bytes from man-in-the-middle2023-05-10