CVE-2023-31136
PostgresNIO TLS Certificate Verification Man-in-the-Middle Impersonation
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.
INFO
Published Date :
May 9, 2023, 2:15 p.m.
Last Modified :
May 16, 2023, 4:43 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
2.2
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-31136
.
URL | Resource |
---|---|
https://github.com/advisories/GHSA-467w-rrqc-395f | Not Applicable |
https://github.com/advisories/GHSA-735f-7qx4-jqq5 | Not Applicable |
https://github.com/apple/swift-nio/pull/2419 | Patch |
https://github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754fffafc7 | Patch |
https://github.com/vapor/postgres-nio/releases/tag/1.14.2 | Release Notes |
https://github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vv | Vendor Advisory |
https://www.postgresql.org/support/security/CVE-2021-23214/ | Not Applicable |
https://www.postgresql.org/support/security/CVE-2021-23222/ | Not Applicable |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-31136
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-31136
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
May. 16, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/advisories/GHSA-467w-rrqc-395f No Types Assigned https://github.com/advisories/GHSA-467w-rrqc-395f Not Applicable Changed Reference Type https://github.com/advisories/GHSA-735f-7qx4-jqq5 No Types Assigned https://github.com/advisories/GHSA-735f-7qx4-jqq5 Not Applicable Changed Reference Type https://github.com/apple/swift-nio/pull/2419 No Types Assigned https://github.com/apple/swift-nio/pull/2419 Patch Changed Reference Type https://github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754fffafc7 No Types Assigned https://github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754fffafc7 Patch Changed Reference Type https://github.com/vapor/postgres-nio/releases/tag/1.14.2 No Types Assigned https://github.com/vapor/postgres-nio/releases/tag/1.14.2 Release Notes Changed Reference Type https://github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vv No Types Assigned https://github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vv Vendor Advisory Changed Reference Type https://www.postgresql.org/support/security/CVE-2021-23214/ No Types Assigned https://www.postgresql.org/support/security/CVE-2021-23214/ Not Applicable Changed Reference Type https://www.postgresql.org/support/security/CVE-2021-23222/ No Types Assigned https://www.postgresql.org/support/security/CVE-2021-23222/ Not Applicable Added CPE Configuration OR *cpe:2.3:a:vapor:postgresnio:*:*:*:*:*:postgresql:*:* versions up to (excluding) 1.14.2
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-31136
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-31136
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.27 }} 0.04%
score
0.68484
percentile