CVE-2023-31136PostgresNIO processes unencrypted bytes from man-in-the-middle
- 3.7LowCVSS base score
- 0.49%Exploitation in 30 daysEPSS · top 57% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 15 days later
· 15 days later
Published
- 21 months later
· 21 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Low3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.49% · top 57% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.7.
Affected products
- affected < 1.14.2
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- SwiftURLgithub.com/vapor/postgres-nioGHSA-9cfh-vx93-84vv (opens in a new tab)
References
References8
- https://github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vv (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/apple/swift-nio/pull/2419 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754fffafc7 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/advisories/GHSA-467w-rrqc-395f (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/advisories/GHSA-735f-7qx4-jqq5 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/vapor/postgres-nio/releases/tag/1.14.2 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.postgresql.org/support/security/CVE-2021-23214/ (opens in a new tab)x_refsource_MISCx_transferred
- https://www.postgresql.org/support/security/CVE-2021-23222/ (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-1513 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-9cfh-vx93-84vv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-31136)Record last updated .