Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2023-31136
PUBLISHED
More InfoOfficial Page
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
View Known Exploited Vulnerability (KEV) details
Published At-09 May, 2023 | 13:37
Updated At-28 Jan, 2025 | 17:05
Rejected At-
▼CVE Numbering Authority (CNA)
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.

Affected Products
Vendor
vapor
Product
postgres-nio
Versions
Affected
  • < 1.14.2
Problem Types
TypeCWE IDDescription
CWECWE-522CWE-522: Insufficiently Protected Credentials
Type: CWE
CWE ID: CWE-522
Description: CWE-522: Insufficiently Protected Credentials
Metrics
VersionBase scoreBase severityVector
3.13.7LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Version: 3.1
Base score: 3.7
Base severity: LOW
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vv
x_refsource_CONFIRM
https://github.com/apple/swift-nio/pull/2419
x_refsource_MISC
https://github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754fffafc7
x_refsource_MISC
https://github.com/advisories/GHSA-467w-rrqc-395f
x_refsource_MISC
https://github.com/advisories/GHSA-735f-7qx4-jqq5
x_refsource_MISC
https://github.com/vapor/postgres-nio/releases/tag/1.14.2
x_refsource_MISC
https://www.postgresql.org/support/security/CVE-2021-23214/
x_refsource_MISC
https://www.postgresql.org/support/security/CVE-2021-23222/
x_refsource_MISC
Hyperlink: https://github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vv
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/apple/swift-nio/pull/2419
Resource:
x_refsource_MISC
Hyperlink: https://github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754fffafc7
Resource:
x_refsource_MISC
Hyperlink: https://github.com/advisories/GHSA-467w-rrqc-395f
Resource:
x_refsource_MISC
Hyperlink: https://github.com/advisories/GHSA-735f-7qx4-jqq5
Resource:
x_refsource_MISC
Hyperlink: https://github.com/vapor/postgres-nio/releases/tag/1.14.2
Resource:
x_refsource_MISC
Hyperlink: https://www.postgresql.org/support/security/CVE-2021-23214/
Resource:
x_refsource_MISC
Hyperlink: https://www.postgresql.org/support/security/CVE-2021-23222/
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vv
x_refsource_CONFIRM
x_transferred
https://github.com/apple/swift-nio/pull/2419
x_refsource_MISC
x_transferred
https://github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754fffafc7
x_refsource_MISC
x_transferred
https://github.com/advisories/GHSA-467w-rrqc-395f
x_refsource_MISC
x_transferred
https://github.com/advisories/GHSA-735f-7qx4-jqq5
x_refsource_MISC
x_transferred
https://github.com/vapor/postgres-nio/releases/tag/1.14.2
x_refsource_MISC
x_transferred
https://www.postgresql.org/support/security/CVE-2021-23214/
x_refsource_MISC
x_transferred
https://www.postgresql.org/support/security/CVE-2021-23222/
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/vapor/postgres-nio/security/advisories/GHSA-9cfh-vx93-84vv
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/apple/swift-nio/pull/2419
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/vapor/postgres-nio/commit/2df54bc94607f44584ae6ffa74e3cd754fffafc7
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/advisories/GHSA-467w-rrqc-395f
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/advisories/GHSA-735f-7qx4-jqq5
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/vapor/postgres-nio/releases/tag/1.14.2
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://www.postgresql.org/support/security/CVE-2021-23214/
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://www.postgresql.org/support/security/CVE-2021-23222/
Resource:
x_refsource_MISC
x_transferred
2. CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Details not found