CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (7.5). EPSS 2.7% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2020-25696 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-25696?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-25696?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-25696 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| postgresql:postgresql | from 9.5.0 before 9.5.24 |
| postgresql:postgresql | from 9.6.0 before 9.6.20 |
| postgresql:postgresql | from 10.0 before 10.15 |
| postgresql:postgresql | from 11.0 before 11.10 |
| postgresql:postgresql | from 12.0 before 12.5 |
| postgresql:postgresql | from 13.0 before 13.1 |
| debian:debian_linux | 9.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | postgresql-9.6 | 9.6.20-0+deb9u1 | DLA-2478-1 |
| Debian | 11 | postgresql-13 | 13.1-1 | DEBIAN-CVE-2020-25696 |
| Ubuntu | 16.04:LTS | postgresql-9.5 | 9.5.24-0ubuntu0.16.04.1 | UBUNTU-CVE-2020-25696 USN-4633-1 |
| Ubuntu | 18.04:LTS | postgresql-10 | 10.15-0ubuntu0.18.04.1 | UBUNTU-CVE-2020-25696 USN-4633-1 |
| Ubuntu | 20.04:LTS | postgresql-12 | 12.5-0ubuntu0.20.04.1 | UBUNTU-CVE-2020-25696 USN-4633-1 |
| Ubuntu | Pro:14.04:LTS | postgresql-9.3 | no fix listed | UBUNTU-CVE-2020-25696 |
| Red Hat | enterprise_linux:8::appstream | libpq, libpq-devel, libpq-debuginfo and 2 more | 0:12.5-1.el8_3 | RHSA-2020:5401 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.4.0-4.module+el8.3.0+9042+664538f4 | RHSA-2020:5620 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:0.10.0-2.module+el8.3.0+9042+664538f4 | RHSA-2020:5620 |
| Red Hat | enterprise_linux:8::appstream | postgresql, postgresql-docs, postgresql-test and 18 more | 0:9.6.20-1.module+el8.3.0+8938+7f0e88b6 | RHSA-2020:5619 |
| Red Hat | enterprise_linux:8::appstream | postgresql, postgresql-docs, postgresql-test and 22 more | 0:10.15-1.module+el8.3.0+8944+1ca16b1f | RHSA-2020:5567 |
| Red Hat | enterprise_linux:8::appstream | postgresql, postgresql-docs, postgresql-test and 22 more | 0:12.5-1.module+el8.3.0+9042+664538f4 | RHSA-2020:5620 |
| Red Hat | rhel_e4s:8.0::appstream | libpq, libpq-devel, libpq-debuginfo and 2 more | 0:12.5-1.el8_0 | RHSA-2020:5638 |
| Red Hat | rhel_e4s:8.0::appstream | postgresql, postgresql-docs, postgresql-test and 18 more | 0:9.6.20-1.module+el8.0.0+9157+356b8def | RHSA-2020:5661 |
| Red Hat | rhel_e4s:8.0::appstream | postgresql, postgresql-docs, postgresql-test and 22 more | 0:10.15-1.module+el8.0.0+9155+4a85661a | RHSA-2020:5664 |
| Red Hat | rhel_eus:8.1::appstream | libpq, libpq-devel, libpq-debuginfo and 2 more | 0:12.5-2.el8_1 | RHSA-2021:0165 |
| Red Hat | rhel_eus:8.1::appstream | postgresql, postgresql-docs, postgresql-test and 18 more | 0:9.6.20-1.module+el8.1.0+9156+8ff1384f | RHSA-2021:0167 |
| Red Hat | rhel_eus:8.1::appstream | postgresql, postgresql-docs, postgresql-test and 22 more | 0:10.15-1.module+el8.1.0+9154+cd474635 | RHSA-2021:0166 |
| 8 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 15 more | postgresql | 13-4.7.1 | SUSE-SU-2021:0217-1 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 15 more | postgresql10 | 10.15-4.9.1 | SUSE-SU-2020:3464-1 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 15 more | postgresql12 | 12.5-3.9.3 | SUSE-SU-2020:3630-1 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 15 more | postgresql13 | 13.1-3.3.1 | SUSE-SU-2021:0217-1 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 8 more | postgresql96 | 9.6.20-6.8.1 | SUSE-SU-2020:3477-1 |
| SUSE | Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 more | postgresql10 | 10.15-4.28.1 | SUSE-SU-2020:3455-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP1 and 1 more | postgresql10 | 10.15-8.22.1 | SUSE-SU-2020:3476-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Server Applications 15 SP1 | postgresql12 | 12.5-3.15.1 | SUSE-SU-2020:3425-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Package Hub 15 SP2, Linux Enterprise Module for Server Applications 15 SP2 | postgresql | 13-4.6.7 | SUSE-SU-2021:0175-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Package Hub 15 SP2, Linux Enterprise Module for Server Applications 15 SP2 | postgresql13 | 13.1-5.3.15 | SUSE-SU-2021:0175-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP2 | postgresql12 | 12.5-8.10.1 | SUSE-SU-2020:3463-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | postgresql12 | 12.5-3.12.3 | SUSE-SU-2021:0217-1 |
| openSUSE | Leap 15.1 | postgresql10 | 10.15-lp151.2.21.1 | openSUSE-SU-2020:2028-1 |
| openSUSE | Leap 15.1 | postgresql12 | 12.5-lp151.10.1 | openSUSE-SU-2020:2029-1 |
| openSUSE | Leap 15.2 | postgresql | 13-lp152.3.6.1 | openSUSE-SU-2021:0337-1 |
| openSUSE | Leap 15.2 | postgresql10 | 10.15-lp152.2.9.1 | openSUSE-SU-2020:2019-1 |
| openSUSE | Leap 15.2 | postgresql12 | 12.5-lp152.3.10.1 | openSUSE-SU-2020:2018-1 |
| openSUSE | Tumbleweed | postgresql10 | 10.18-1.3 | openSUSE-SU-2024:11184-1 |
| openSUSE | Tumbleweed | postgresql11 | 11.13-1.3 | openSUSE-SU-2024:11185-1 |
| openSUSE | Tumbleweed | postgresql12 | 12.8-1.3 | openSUSE-SU-2024:11186-1 |
| openSUSE | Tumbleweed | postgresql13 | 13.4-1.3 | openSUSE-SU-2024:11187-1 |
| openSUSE | Tumbleweed | postgresql14 | 14.5-2.1 | openSUSE-SU-2024:12387-1 |
| openSUSE | Tumbleweed | postgresql15 | 15.4-2.1 | openSUSE-SU-2024:13243-1 |
| openSUSE | Tumbleweed | postgresql16 | 16.4-1.1 | openSUSE-SU-2024:14360-1 |
| 1 more for openSUSE in the JSON and on openSUSE's page. | ||||
| AlmaLinux | 8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2020:5620 |
| AlmaLinux | 8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2020:5620 |
| Rocky Linux | 8 | pgaudit | 0:1.4.0-4.module+el8.4.0+545+ca56da2e | RLSA-2020:5620 |
| Rocky Linux | 8 | postgres-decoderbufs | 0:0.10.0-2.module+el8.4.0+424+71d47d9a | RLSA-2020:5620 |
| Rocky Linux | 8 | postgres-decoderbufs | 0:0.10.0-2.module+el8.5.0+684+c3892ef9 | RLSA-2020:5620 |
| Alpine | v3.9, v3.10 | postgresql | 11.10-r0 | ALPINE-CVE-2020-25696 |
| Alpine | v3.11, v3.12, v3.13 and 1 more | postgresql | 12.5-r0 | ALPINE-CVE-2020-25696 |
| Alpine | v3.15, v3.16 | postgresql12, postgresql14 | 12.5-r0 | ALPINE-CVE-2020-25696 |
| Alpine | v3.17, v3.18 | postgresql12, postgresql14, postgresql15 | 12.5-r0 | ALPINE-CVE-2020-25696 |
| Alpine | v3.19, v3.20 | postgresql14, postgresql15 | 12.5-r0 | ALPINE-CVE-2020-25696 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
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.
Using \gset with a prefix not found among specially treated variables, e.g. any lowercase string, precludes the attack in an unpatched psql.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | libpq-0:12.5-1.el8_3 | Fixed 2020-12-14 | RHSA-2020:5401 |
| Red Hat Enterprise Linux 8 | postgresql:10-8030020201201142418.229f0a1c | Fixed 2020-12-16 | RHSA-2020:5567 |
| Red Hat Enterprise Linux 8 | postgresql:9.6-8030020201201133334.229f0a1c | Fixed 2020-12-17 | RHSA-2020:5619 |
| Red Hat Enterprise Linux 8 | postgresql:12-8030020201207110000.229f0a1c | Fixed 2020-12-17 | RHSA-2020:5620 |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | libpq-0:12.5-1.el8_0 | Fixed 2020-12-21 | RHSA-2020:5638 |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | postgresql:9.6-8000020201214122017.f8e95b4e | Fixed 2020-12-22 | RHSA-2020:5661 |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | postgresql:10-8000020201214113918.f8e95b4e | Fixed 2020-12-22 | RHSA-2020:5664 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | libpq-0:12.5-2.el8_1 | Fixed 2021-01-18 | RHSA-2021:0165 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | postgresql:10-8010020201214112129.c27ad7f8 | Fixed 2021-01-18 | RHSA-2021:0166 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | postgresql:9.6-8010020201214134447.c27ad7f8 | Fixed 2021-01-18 | RHSA-2021:0167 |
| Red Hat build of Quarkus | postgresql | Not affected | |
| Red Hat Decision Manager 7 | postgresql | Not affected | |
| Red Hat Enterprise Linux 5 | postgresql | Out of support scope | |
| Red Hat Enterprise Linux 5 | postgresql84 | Out of support scope | |
| Red Hat Enterprise Linux 6 | postgresql | Out of support scope | |
| Red Hat Enterprise Linux 7 | postgresql | Out of support scope | |
| Red Hat Enterprise Linux 9 | postgresql | Not affected | |
| Red Hat Fuse 7 | postgresql | Not affected | |
| Red Hat JBoss Enterprise Application Platform 6 | postgresql | Not affected | |
| Red Hat JBoss Enterprise Application Platform 7 | postgresql | Not affected | |
| 12 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-25696.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-697 (29).