Vulnerability in Vapor Postgres-Nio
CVE-2023-31136
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (39.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 39.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Vapor Postgres-Nio — versions < 1.14.2
- Vapor Postgresnio
Weakness classification (CWE)
References
- github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vv (Vendor Advisory)
- github.com/apple/swift-nio/pull/2419 (Patch)
- github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754fffafc7 (Patch)
- github.com/advisories/GHSA-467w-rrqc-395f (Not Applicable)
- github.com/advisories/GHSA-735f-7qx4-jqq5 (Not Applicable)
- github.com/vapor/postgres-nio/releases/tag/1.14.2 (Release Notes)
- www.postgresql.org/support/security/CVE-2021-23214/ (Not Applicable)
- www.postgresql.org/support/security/CVE-2021-23222/ (Not Applicable)
Frequently asked questions
- What is CVE-2023-31136?
- CVE-2023-31136 is a low-severity vulnerability in Vapor Postgres-Nio, classified under Insufficiently Protected Credentials. CVSS score: 3.7/10. Published 2023-05-09.
- How severe is CVE-2023-31136?
- Low severity. CVSS v3 base score is 3.7 out of 10.