CVE-2023-31136
Summary
| CVE | CVE-2023-31136 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-05-09 14:15:00 UTC |
| Updated | 2023-05-16 16:43:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-522
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Vapor | Postgresnio | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| When the server is configured to use trust authentication... · CVE-2021-23214 · GitHub Advisory Database · GitHub | MISC | github.com | |
| PostgreSQL: CVE-2021-23214: Server processes unencrypted bytes from man-in-the-middle | MISC | www.postgresql.org | |
| A man-in-the-middle attacker can inject false responses... · CVE-2021-23222 · GitHub Advisory Database · GitHub | MISC | github.com | |
| PostgresNIO processes unencrypted bytes from man-in-the-middle · Advisory · vapor/postgres-nio · GitHub | MISC | github.com | |
| Release PostgresNIO 1.14.2 · vapor/postgres-nio · GitHub | MISC | github.com | |
| PostgreSQL: CVE-2021-23222: libpq processes unencrypted bytes from man-in-the-middle | MISC | www.postgresql.org | |
| Merge pull request from GHSA-9cfh-vx93-84vv · vapor/postgres-nio@2df54bc · GitHub | MISC | github.com | |
| Add unprocessedBytes property on NIOSingleStepByteToMessageProcessor by fabianfett · Pull Request #2419 · apple/swift-nio · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.