Security mailing lists by PureSourceCode

CVE-2023-31136

MEDIUM 5.9CVSS 3.1

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

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
9 May 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-522
Also known as
GHSA-9cfh-vx93-84vv
Sources
NVDJSONOSV GHSA-9cfh-vx93-84vvJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vapor postgresnio
cpe:2.3:a:vapor:postgresnio:*:*:*:*:*:postgresql:*:*
< 1.14.2 1.14.2
OSV SwiftURL github.com/vapor/postgres-nio < 1.14.2 1.14.2

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 9 May 2023)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 10 May 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.