CVE-2023-31136Vapor Postgresnio
Medium 5.9 No auth needed
Follow: this CVE · Vapor · Vapor Postgresnio We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Postgresnio.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vapor | postgresnio | < 1.14.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Not Applicable
- github.com Not Applicable
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory
- www.postgresql.org Not Applicable
- www.postgresql.org Not Applicable