Skip to main content
← All vulnerabilities
CVE-2023-31136

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.14.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • vapor postgres-nio

    fixed in 1.14.2

References 8

GitHub · vapor/postgres-nio

GitHub · apple/swift-nio

GitHub Advisory Database

postgresql.org