Live threats

All CVEs / Vapor

CVE-2023-31136Vapor Postgresnio

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
0.5%
probability of exploitation in 30 days · percentile 38
Auth required
No
Published
May 9, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-522
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresnio.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
vaporpostgresnio< 1.14.2

Official sources

References

Links published by the sources. Open them with care.