---
title: "CVE-2021-23222"
canonical_url: "https://pkgseek.com/security/CVE-2021-23222"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-23222

A man-in-the-middle attacker can inject false responses to the client's first few queries, despite the use of SSL certificate verification and encryption.

CVE-2021-23222 is rated MEDIUM (5.9), with 13 indexed affected package builds across 3 distributions.

- **Severity / Score**: MEDIUM (5.9)
- **Affected builds**: 13
- **Affected distros**: 3
- **Distros with fixed_in**: Alibaba Cloud Linux, Oracle Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | libpq | 13.3-1.al8 | 13.5-1.al8 |
| Alibaba Cloud Linux | 3 | libpq-devel | 13.3-1.al8 | 13.5-1.al8 |
| Oracle Linux | 8 | libpq | 13.3-1.el8_4 | 13.5-1.el8 |
| Oracle Linux | 8 | libpq-devel | 13.3-1.el8_4 | 13.5-1.el8 |
| Ubuntu | focal | libecpg6 | 12.2-4 | 12.9-0ubuntu0.20.04.1 |
| Ubuntu | focal | libecpg-compat3 | 12.2-4 | 12.9-0ubuntu0.20.04.1 |
| Ubuntu | focal | libecpg-dev | 12.2-4 | 12.9-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpgtypes3 | 12.2-4 | 12.9-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpq5 | 12.2-4 | 12.9-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpq-dev | 12.2-4 | 12.9-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-12 | 12.2-4 | 12.9-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-client-12 | 12.2-4 | 12.9-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-doc-12 | 12.2-4 | 12.9-0ubuntu0.20.04.1 |
