CVE-2023-31136:
PostgresNIO processes unencrypted bytes from man-in-the-middle
3.7
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.42968%
CWE
Published
5/10/2023
Updated
11/6/2023
KEV Status
No
Technology
Swift
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/vapor/postgres-nio | swift | < 1.14.2 | 1.14.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The analysis focuses on the patches provided for both apple/swift-nio and vapor/postgres-nio. The key changes that directly address the vulnerability involve checking for unprocessed bytes after SSL support is received and handling this scenario by closing the connection. The functions identified are directly related to this mitigation strategy.