Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vapor | Postgresnio | < 1.14.2 |
Related Weaknesses (CWE)
References
- https://github.com/advisories/GHSA-467w-rrqc-395fNot Applicable
- https://github.com/advisories/GHSA-735f-7qx4-jqq5Not Applicable
- https://github.com/apple/swift-nio/pull/2419Patch
- https://github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754ffPatch
- https://github.com/vapor/postgres-nio/releases/tag/1.14.2Release Notes
- https://github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vvVendor Advisory
- https://www.postgresql.org/support/security/CVE-2021-23214/Not Applicable
- https://www.postgresql.org/support/security/CVE-2021-23222/Not Applicable
- https://github.com/advisories/GHSA-467w-rrqc-395fNot Applicable
- https://github.com/advisories/GHSA-735f-7qx4-jqq5Not Applicable
- https://github.com/apple/swift-nio/pull/2419Patch
- https://github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754ffPatch
- https://github.com/vapor/postgres-nio/releases/tag/1.14.2Release Notes
- https://github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vvVendor Advisory
- https://www.postgresql.org/support/security/CVE-2021-23214/Not Applicable
FAQ
What is CVE-2023-31136?
CVE-2023-31136 is a vulnerability with a CVSS score of 3.7 (LOW). 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 respo...
How severe is CVE-2023-31136?
CVE-2023-31136 has been rated LOW with a CVSS base score of 3.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-31136?
Check the references section above for vendor advisories and patch information. Affected products include: Vapor Postgresnio.