CVE-2023-31136

PostgresNIO processes unencrypted bytes from man-in-the-middle

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.

Category

3.7
CVSS
Severity: Low
CVSS 3.1 •
EPSS 0.20%
Vendor Advisory github.com
Affected: vapor postgres-nio
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-31136?
CVE-2023-31136 has been scored as a low severity vulnerability.
How to fix CVE-2023-31136?
To fix CVE-2023-31136, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-31136 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-31136 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-31136?
CVE-2023-31136 affects vapor postgres-nio.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.