What’s Vulnerable › Vulnerabilities

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.

Affected products

How to fix

Upgrade to a fixed version: vapor Postgresnio 1.14.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-31136 or the next vulnerability affects your stack