CVE-2020-25696: High severity ibm analytics content hub vulnerability

Published Nov 4, 2020
·
Updated

A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Other sources

A flaw was found in the psql interactive terminal of PostgreSQL. If an interactive psql session uses \gset when querying a compromised server, this flaw allows an attacker to execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

PostgreSQL could allow a remote attacker to execute arbitrary code on the system, caused by a flaw in the psql interactive terminal. If an interactive psql session uses \gset when querying a compromised server, an attacker could exploit this vulnerability to execute arbitrary code on the system.

IBM

The \gset meta-command, which sets psql variables based on query results, does not distinguish variables that control psql behavior. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. Using \gset with a prefix not found among specially treated variables, e.g. any lowercase string, precludes the attack in an unpatched psql.

Red Hat

Affected Software

20 affected componentsFixes available
redhat/libpq<0:12.5-1.el8_3
0:12.5-1.el8_3
redhat/libpq<0:12.5-1.el8_0
0:12.5-1.el8_0
redhat/libpq<0:12.5-2.el8_1
0:12.5-2.el8_1
redhat/libpq<0:12.5-1.el8_2
0:12.5-1.el8_2
redhat/rh-postgresql10-postgresql<0:10.15-1.el7
0:10.15-1.el7
redhat/rh-postgresql12-postgresql<0:12.5-1.el7
0:12.5-1.el7
IBM Analytics Content Hub<=2.0
PostgreSQL postgresql>=9.5.0<9.5.24
PostgreSQL postgresql>=9.6.0<9.6.20
PostgreSQL postgresql>=10.0<10.15
PostgreSQL postgresql>=11.0<11.10
PostgreSQL postgresql>=12.0<12.5
PostgreSQL postgresql>=13.0<13.1
Debian Debian Linux=9.0
redhat/postgresql<13.1
13.1
redhat/postgresql<12.5
12.5
redhat/postgresql<11.10
11.10
redhat/postgresql<10.15
10.15
redhat/postgresql<9.6.20
9.6.20
redhat/postgresql<9.5.24
9.5.24

Remediation

Information

Using \gset with a prefix not found among specially treated variables, e.g. any lowercase string, precludes the attack in an unpatched psql.

Event History

Nov 12, 2020
CVE Published
12:00 AM
Nov 23, 2020
CVE Published
via MITRE·09:15 PM
Data Sourced
via MITRE·09:15 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-25696?

CVE-2020-25696 is a vulnerability in the psql interactive terminal of PostgreSQL that allows an attacker to execute arbitrary code as the operating system user.

2

Which versions of PostgreSQL are affected by CVE-2020-25696?

CVE-2020-25696 affects versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20, and before 9.5.24 of PostgreSQL.

3

How severe is CVE-2020-25696?

CVE-2020-25696 has a severity rating of 7.5, which is considered high.

4

How can I fix CVE-2020-25696?

To fix CVE-2020-25696, upgrade to version 13.1 or later if you are using PostgreSQL 13, version 12.5 or later if you are using PostgreSQL 12, version 11.10 or later if you are using PostgreSQL 11, version 10.15 or later if you are using PostgreSQL 10, version 9.6.20 or later if you are using PostgreSQL 9.6, or version 9.5.24 or later if you are using PostgreSQL 9.5.

5

Where can I find more information about CVE-2020-25696?

You can find more information about CVE-2020-25696 on the Red Hat Bugzilla website. [Link 1](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1897233) [Link 2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1897230) [Link 3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1897227)

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