CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 5.1% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2018-16850 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-16850?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-16850?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-2018-16850 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 10.0 before 10.6 |
| postgresql:postgresql | from 11.0 before 11.1 |
| redhat:enterprise_linux | 7.0 |
| redhat:enterprise_linux | 7.4 |
| redhat:enterprise_linux | 7.5 |
| redhat:enterprise_linux | 7.6 |
| canonical:ubuntu_linux | 18.04 |
| canonical:ubuntu_linux | 18.10 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 18.04:LTS | postgresql-10 | 10.6-0ubuntu0.18.04.1 | UBUNTU-CVE-2018-16850 USN-3818-1 |
| Red Hat | rhel_software_collections:3::el7 | rh-postgresql10-postgresql, rh-postgresql10-postgresql-docs, rh-postgresql10-postgresql-libs and 12 more | 0:10.6-1.el7 | RHSA-2018:3757 |
| SUSE | Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3 | postgresql10, postgresql10-libs | 10.6-1.6.1 | SUSE-SU-2018:3770-1 |
| SUSE | Linux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4 | postgresql10, postgresql10-libs | 10.6-1.6.1 | SUSE-SU-2018:3770-2 |
| SUSE | Linux Enterprise Module for Basesystem 15, Linux Enterprise Module for Package Hub 15, Linux Enterprise Module for Server Applications 15 | postgresql10 | 10.6-4.8.1 | SUSE-SU-2018:3942-1 |
| SUSE | Linux Enterprise Software Development Kit 12 SP3 | postgresql10-libs | 10.6-1.6.1 | SUSE-SU-2018:3770-1 |
| SUSE | Linux Enterprise Software Development Kit 12 SP4 | postgresql10-libs | 10.6-1.6.1 | SUSE-SU-2018:3770-2 |
| openSUSE | Tumbleweed | postgresql10 | 10.18-1.3 | openSUSE-SU-2024:11184-1 |
| openSUSE | Tumbleweed | postgresql11 | 11.13-1.3 | openSUSE-SU-2024:11185-1 |
| Alpine | v3.9, v3.10, v3.11 and 3 more | postgresql | 11.1-r0 | ALPINE-CVE-2018-16850 |
| Alpine | v3.15, v3.16 | postgresql14 | 11.1-r0 | ALPINE-CVE-2018-16850 |
| Alpine | v3.17, v3.18, v3.19 and 1 more | postgresql14, postgresql15 | 11.1-r0 | ALPINE-CVE-2018-16850 |
From the distributions' data via OSV.dev: 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; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
This issue did not affect the versions of postgresql as shipped with Red Hat Enterprise Linux 5, 6, and 7 as they did not include support for triggers with `referecing` syntax, which was included in a later version of the program.
It also doesn't affect the versions of postgresql shipped with CloudForms 4.2, 4.5 and 4.6, and Satellite 5, for the same reason as above.
This issue did not affect the versions of postgresql shipped within Tower, as there is no code path for Tower users to call the CREATE statement.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql10-postgresql-0:10.6-1.el7 | Fixed 2018-12-03 | RHSA-2018:3757 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-postgresql10-postgresql-0:10.6-1.el7 | Fixed 2018-12-03 | RHSA-2018:3757 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-postgresql10-postgresql-0:10.6-1.el7 | Fixed 2018-12-03 | RHSA-2018:3757 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-postgresql10-postgresql-0:10.6-1.el7 | Fixed 2018-12-03 | RHSA-2018:3757 |
| CloudForms Management Engine 5 | postgresql96 | Not affected | |
| Red Hat Ansible Tower 3 | postgresql96-libs | Not affected | |
| Red Hat Enterprise Linux 5 | postgresql | Not affected | |
| Red Hat Enterprise Linux 6 | postgresql | Not affected | |
| Red Hat Enterprise Linux 7 | postgresql | Not affected | |
| Red Hat Enterprise Linux 8 | libpq | Not affected | |
| Red Hat Enterprise Linux 8 | postgresql | Not affected | |
| Red Hat Satellite 5 | rh-postgresql95-postgresql | Not affected | |
| Red Hat Software Collections | rh-postgresql95-postgresql | Not affected | |
| Red Hat Software Collections | rh-postgresql96-postgresql | Not affected | |
| Red Hat Virtualization 4 | postgresql | Not affected | |
| Red Hat Virtualization 4 | rh-postgresql95-postgresql | Not affected |
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-2018-16850.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.