Low severity3.7NVD Advisory· Published May 9, 2023· Updated Jun 17, 2026
CVE-2023-31136
CVE-2023-31136
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/vapor/postgres-nioSwiftURL | < 1.14.2 | 1.14.2 |
Affected products
3cpe:2.3:a:vapor:postgresnio:*:*:*:*:*:postgresql:*:*+ 1 more
- cpe:2.3:a:vapor:postgresnio:*:*:*:*:*:postgresql:*:*range: <1.14.2
- (no CPE)range: < 1.14.2
Patches
Vulnerability mechanics
References
12- github.com/apple/swift-nio/pull/2419nvdPatchWEB
- github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754fffafc7nvdPatchWEB
- github.com/advisories/GHSA-467w-rrqc-395fnvdNot ApplicableADVISORY
- github.com/advisories/GHSA-735f-7qx4-jqq5nvdNot ApplicableADVISORY
- github.com/advisories/GHSA-9cfh-vx93-84vvghsaADVISORY
- github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vvnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2023-31136ghsaADVISORY
- github.com/vapor/postgres-nio/releases/tag/1.14.2nvdRelease NotesWEB
- www.postgresql.org/support/security/CVE-2021-23214ghsaWEB
- www.postgresql.org/support/security/CVE-2021-23214/nvdNot Applicable
- www.postgresql.org/support/security/CVE-2021-23222ghsaWEB
- www.postgresql.org/support/security/CVE-2021-23222/nvdNot Applicable
News mentions
0No linked articles in our index yet.