CVE-2023-31136

Summary

CVECVE-2023-31136
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-05-09 14:15:00 UTC
Updated2023-05-16 16:43:00 UTC
DescriptionPostgresNIO 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.

Risk And Classification

Problem Types: CWE-522

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Vapor Postgresnio All All All All

References

ReferenceSourceLinkTags
When the server is configured to use trust authentication... · CVE-2021-23214 · GitHub Advisory Database · GitHub MISC github.com
PostgreSQL: CVE-2021-23214: Server processes unencrypted bytes from man-in-the-middle MISC www.postgresql.org
A man-in-the-middle attacker can inject false responses... · CVE-2021-23222 · GitHub Advisory Database · GitHub MISC github.com
PostgresNIO processes unencrypted bytes from man-in-the-middle · Advisory · vapor/postgres-nio · GitHub MISC github.com
Release PostgresNIO 1.14.2 · vapor/postgres-nio · GitHub MISC github.com
PostgreSQL: CVE-2021-23222: libpq processes unencrypted bytes from man-in-the-middle MISC www.postgresql.org
Merge pull request from GHSA-9cfh-vx93-84vv · vapor/postgres-nio@2df54bc · GitHub MISC github.com
Add unprocessedBytes property on NIOSingleStepByteToMessageProcessor by fabianfett · Pull Request #2419 · apple/swift-nio · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report