Anolis OS update for libpq



| Updated: 2025-03-28
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-23222
CWE-ID CWE-311
Exploitation vector Local network
Public exploit N/A
Vulnerable software
Anolis OS
Operating systems & Components / Operating system

libpq-devel
Operating systems & Components / Operating system package or component

libpq
Operating systems & Components / Operating system package or component

Vendor OpenAnolis

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Missing Encryption of Sensitive Data

EUVDB-ID: #VU58114

Risk: Medium

CVSSv4.0: 4.9 [CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-23222

CWE-ID: CWE-311 - Missing Encryption of Sensitive Data

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to the way the libpq process in PostgreSQL handles encrypted connections. 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. The attacker can exfiltrate the client's password or other confidential data that might be transmitted early in a session.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

libpq-devel: before 13.5-1

libpq: before 13.5-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2022:0420


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###