Bug 1894430 (CVE-2020-25696)
Summary: | CVE-2020-25696 postgresql: psql's \gset allows overwriting specially treated variables | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Michael Kaplan <mkaplan> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | aboyko, aileenc, akoufoud, alazarot, almorale, anon.amish, anstephe, apmukher, asakala, asoldano, atangrin, avibelli, bbaranow, bgeorges, bmaxwell, brian.stansberry, cdewolf, chazlett, clement.escoffier, dandread, darran.lofthouse, databases-maint, devrim, dkreling, dosoudil, drieden, eleandro, etirelli, ggaughan, gmalinko, gsmet, hhorak, hvyas, ibek, iweiss, janstey, jawilson, jbalunas, jmlich83, jochrist, jorton, jpallich, jperkins, jstastny, jwon, krathod, kverlaen, kwills, lgao, lthon, mcascell, mike, mnovotny, msochure, msvehla, mszynkie, nwallace, panovotn, pgallagh, pjindal, pkajaba, pkubat, pmackay, praiskup, probinso, puebele, rguimara, rrajasek, rruss, rstancel, rsvoboda, rsynek, sbiarozk, sdaley, sdouglas, security-response-team, smaestri, tcrider, tgl, tom.jenkinson |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | postgresql 13.1, postgresql 12.5, postgresql 11.10, postgresql 10.15, postgresql 9.6.20, postgresql 9.5.24 | Doc Type: | If docs needed, set a value |
Doc Text: |
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.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-12-02 17:33:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1897218, 1897221, 1897224, 1897227, 1897230, 1897233, 1898243, 1898244, 1898245, 1898246, 1898247, 1898248, 1901555, 1901556, 1901558, 1901559, 1901561, 1901562, 1901563, 1901564, 1901565, 1901566, 1901567, 1901568, 1901569, 1901570, 1910648 | ||
Bug Blocks: | 1894439 |
Description
Michael Kaplan
2020-11-04 09:20:15 UTC
Acknowledgments: Name: Nick Cleaton Created mingw-postgresql tracking bugs for this issue: Affects: fedora-all [bug 1897233] Created postgresql tracking bugs for this issue: Affects: fedora-all [bug 1897230] Created postgresql:10/postgresql tracking bugs for this issue: Affects: fedora-all [bug 1897227] Created postgresql:11/postgresql tracking bugs for this issue: Affects: fedora-all [bug 1897224] Created postgresql:12/postgresql tracking bugs for this issue: Affects: fedora-all [bug 1897221] Created postgresql:9.6/postgresql tracking bugs for this issue: Affects: fedora-all [bug 1897218] External References: https://www.postgresql.org/about/news/postgresql-131-125-1110-1015-9620-and-9524-released-2111/ Mitigation: Using \gset with a prefix not found among specially treated variables, e.g. any lowercase string, precludes the attack in an unpatched psql. Upstream fix: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=098fb00799ffb026ff12c64bd21635f963cfc609 This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS Via RHSA-2020:5316 https://access.redhat.com/errata/RHSA-2020:5316 This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS Via RHSA-2020:5317 https://access.redhat.com/errata/RHSA-2020:5317 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2020-25696 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:5401 https://access.redhat.com/errata/RHSA-2020:5401 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:5567 https://access.redhat.com/errata/RHSA-2020:5567 Statement: In Red Hat Gluster Storage 3, PostgreSQL (embedded in rhevm-dependencies) was shipped as a part of the Red Hat Gluster Storage Console that is no longer supported for use with Red Hat Gluster Storage 3.5. Red Hat Gluster Storage Web Administration is now the recommended monitoring tool for Red Hat Storage Gluster clusters. In Red Hat Virtualization, the manager appliance uses a vulnerable version of postgresql. Once a fix has been shipped for RHEL 8 the appliance can consume the fix via a regular yum update. This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:5619 https://access.redhat.com/errata/RHSA-2020:5619 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:5620 https://access.redhat.com/errata/RHSA-2020:5620 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions Via RHSA-2020:5638 https://access.redhat.com/errata/RHSA-2020:5638 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions Via RHSA-2020:5661 https://access.redhat.com/errata/RHSA-2020:5661 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions Via RHSA-2020:5664 https://access.redhat.com/errata/RHSA-2020:5664 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Extended Update Support Via RHSA-2021:0057 https://access.redhat.com/errata/RHSA-2021:0057 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Extended Update Support Via RHSA-2021:0161 https://access.redhat.com/errata/RHSA-2021:0161 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Extended Update Support Via RHSA-2021:0163 https://access.redhat.com/errata/RHSA-2021:0163 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Extended Update Support Via RHSA-2021:0164 https://access.redhat.com/errata/RHSA-2021:0164 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.1 Extended Update Support Via RHSA-2021:0165 https://access.redhat.com/errata/RHSA-2021:0165 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.1 Extended Update Support Via RHSA-2021:0166 https://access.redhat.com/errata/RHSA-2021:0166 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.1 Extended Update Support Via RHSA-2021:0167 https://access.redhat.com/errata/RHSA-2021:0167 |