CVE-2023-31136

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

State
Published
Severity
3.7 Low
Published
May 9, 2023
Updated
Jan 28, 2025
Reserved
Apr 24, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-522 Insufficiently Protected Credentials

Affected Products

ProductVersions
postgres-niovapor
  • < 1.14.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.