Read the docs
TI-2023-14846 Aliases CVE-2023-31136GHSA-9cfh-vx93-84vv

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

Priority LOW 27CWE-522Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-522.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0049 42nd percentileScored 2026-11-07
Fix Fixed postgres-nio (vapor): 1.14.2github.com/vapor/postgres-nio (SwiftURL): 1.14.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
vaporpostgres-niobefore 1.14.21.14.2Patch availableCNA
—github.com/vapor/postgres-nio (SwiftURL)before 1.14.21.14.2Patch availableGHSA-9cfh-vx93-84vv
  • postgres-nio Vendorvapor Affected before 1.14.2 Fixed in 1.14.2 Patch available CNA
  • github.com/vapor/postgres-nio (SwiftURL) Vendor— Affected before 1.14.2 Fixed in 1.14.2 Patch available GHSA-9cfh-vx93-84vv

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:vapor:postgresnio:*:*:*:*:*:postgresql:*:*before 1.14.2Vulnerablevapor
  • cpe:2.3:a:vapor:postgresnio:*:*:*:*:*:postgresql:*:* Versions before 1.14.2 Vulnerable ·vapor

Remediation

  • Fix · CNA postgres-nio (vapor) Fixed in 1.14.2
  • Fix · GHSA-9cfh-vx93-84vv github.com/vapor/postgres-nio (SwiftURL) Fixed in 1.14.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-31136
  2. 2026-10-03 Alias added: GHSA-9cfh-vx93-84vv

References

Sources