Low severityNVD Advisory· Published May 9, 2023· Updated Jan 28, 2025
PostgresNIO processes unencrypted bytes from man-in-the-middle
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
2- vapor/postgres-niov5Range: < 1.14.2
Patches
Vulnerability mechanics
References
12- github.com/advisories/GHSA-467w-rrqc-395fghsax_refsource_MISCADVISORY
- github.com/advisories/GHSA-735f-7qx4-jqq5ghsax_refsource_MISCADVISORY
- github.com/advisories/GHSA-9cfh-vx93-84vvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-31136ghsaADVISORY
- github.com/apple/swift-nio/pull/2419ghsax_refsource_MISCWEB
- github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754fffafc7ghsax_refsource_MISCWEB
- github.com/vapor/postgres-nio/releases/tag/1.14.2ghsax_refsource_MISCWEB
- github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vvghsax_refsource_CONFIRMWEB
- www.postgresql.org/support/security/CVE-2021-23214ghsaWEB
- www.postgresql.org/support/security/CVE-2021-23214/mitrex_refsource_MISC
- www.postgresql.org/support/security/CVE-2021-23222ghsaWEB
- www.postgresql.org/support/security/CVE-2021-23222/mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.