CVE-2021-23222: Medium severity IBM Spectrum Protect Plus vulnerability

Published Nov 12, 2021
·
Updated

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.

Other sources

PostgreSQL is vulnerable to a man-in-the-middle attack, caused by improper validation of user-supplied input by libpq. A remote attacker could exploit this vulnerability to launch a man-in-the-middle attack to inject false responses to the client's first few queries, despite the use of SSL certificate verification and encryption.

— IBM

Affected Software

36 affected componentsFixes available
redhat/postgresql<9.6.24
9.6.24
redhat/postgresql<10.19
10.19
redhat/postgresql<11.14
11.14
redhat/postgresql<12.9
12.9
redhat/postgresql<13.5
13.5
redhat/postgresql<14.1
14.1
IBM Spectrum Protect Plus<=10.1.0.0-10.1.9.2
PostgreSQL postgresql>=9.6<9.6.24
PostgreSQL postgresql>=10.0<10.19
PostgreSQL postgresql>=11.0<11.14
PostgreSQL postgresql>=12.0<12.9
PostgreSQL postgresql>=13.0<13.5
PostgreSQL postgresql=14.0
alpine/postgresql>=9.6<12.9-r0
12.9-r0
alpine/postgresql>=9.6<12.9-r0
12.9-r0
alpine/postgresql>=9.6<13.5-r0
13.5-r0
alpine/postgresql>=9.6<13.5-r0
13.5-r0
alpine/postgresql12<12.9-r0
12.9-r0
alpine/postgresql12<12.9-r0
12.9-r0
alpine/postgresql12<12.9-r0
12.9-r0
alpine/postgresql12<12.9-r0
12.9-r0
alpine/postgresql13<13.5-r0
13.5-r0
alpine/postgresql13<13.5-r0
13.5-r0
alpine/postgresql13<13.5-r0
13.5-r0
alpine/postgresql13<13.5-r0
13.5-r0
alpine/postgresql13<13.5-r0
13.5-r0
alpine/postgresql14<14.1-r0
14.1-r0
alpine/postgresql14<14.1-r0
14.1-r0
alpine/postgresql14<14.1-r0
14.1-r0
alpine/postgresql14<14.1-r0
14.1-r0
alpine/postgresql14<14.1-r0
14.1-r0
alpine/postgresql14<14.1-r0
14.1-r0
alpine/postgresql15<14.1-r0
14.1-r0
alpine/postgresql15<14.1-r0
14.1-r0
alpine/postgresql15<14.1-r0
14.1-r0
alpine/postgresql15<14.1-r0
14.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/postgresql to a version that resolves this vulnerability.

    Fixed in 9.6.24
  2. Upgrade

    Upgrade redhat/postgresql to a version that resolves this vulnerability.

    Fixed in 10.19
  3. Upgrade

    Upgrade redhat/postgresql to a version that resolves this vulnerability.

    Fixed in 11.14
  4. Upgrade

    Upgrade redhat/postgresql to a version that resolves this vulnerability.

    Fixed in 12.9
  5. Upgrade

    Upgrade redhat/postgresql to a version that resolves this vulnerability.

    Fixed in 13.5
  6. Upgrade

    Upgrade redhat/postgresql to a version that resolves this vulnerability.

    Fixed in 14.1
  7. Upgrade

    Upgrade alpine/postgresql to a version that resolves this vulnerability.

    Fixed in 12.9-r0
  8. Upgrade

    Upgrade alpine/postgresql to a version that resolves this vulnerability.

    Fixed in 13.5-r0
  9. Upgrade

    Upgrade alpine/postgresql12 to a version that resolves this vulnerability.

    Fixed in 12.9-r0
  10. Upgrade

    Upgrade alpine/postgresql13 to a version that resolves this vulnerability.

    Fixed in 13.5-r0
  11. Upgrade

    Upgrade alpine/postgresql14 to a version that resolves this vulnerability.

    Fixed in 14.1-r0
  12. Upgrade

    Upgrade alpine/postgresql15 to a version that resolves this vulnerability.

    Fixed in 14.1-r0

Event History

Mar 2, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via OSV·11:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2021-23222?

CVE-2021-23222 is a vulnerability in PostgreSQL that allows a man-in-the-middle attacker to inject false responses to the client's queries.

2

How does CVE-2021-23222 affect PostgreSQL?

CVE-2021-23222 affects versions of PostgreSQL up to 9.6.24, 10.19, 11.14, 12.9, 13.5, and 14.0.

3

What is the severity of CVE-2021-23222?

The severity of CVE-2021-23222 is medium, with a CVSS score of 5.9.

4

How can a man-in-the-middle attack be prevented in PostgreSQL?

To prevent a man-in-the-middle attack in PostgreSQL, users should update to the latest version that includes the fix.

5

Where can I find more information about CVE-2021-23222?

More information about CVE-2021-23222 can be found on Red Hat Bugzilla and the official PostgreSQL git repository.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203