CVE-2019-10164
postgresql: Stack-based buffer overflow via setting a password
Overview
Description
PostgreSQL versions 10.x before 10.9 and versions 11.x before 11.4 are vulnerable to a stack-based buffer overflow. Any authenticated user can overflow a stack-based buffer by changing the user's own password to a purpose-crafted value. This often suffices to execute arbitrary code as the PostgreSQL operating system account.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-121, CWE-787
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 11 fixes
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | rh-postgresql10-postgresql +13 | 10.15-1.el7 |
| 8 | postgresql +12 | 10.14-1.module+el8.2.0+7785+0ea9f177 |
Red Hat 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-postgresql10-postgresql +13 | 0:10.12-2.el7 | RHSA-2020:0980 |
| 8 | libpq +1 | 0:12.1-3.el8 | RHEA-2020:0343 |
| 8 (postgresql:10) | postgresql +12 | 0:10.14-1.module+el8.2.0+7801+be0fed80 | RHSA-2020:3669 |
| 8 (postgresql:10) | postgresql +12 | 0:10.15-1.module+el8.0.0+9155+4a85661a | RHSA-2020:5664 |
| 8 (postgresql:10) | postgresql +12 | 0:10.15-1.module+el8.1.0+9154+cd474635 | RHSA-2021:0166 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | postgresql10 +8 | 10.18-1.3 | openSUSE-SU-2024:11184-1 |
| Tumbleweed | postgresql11 +10 | 11.13-1.3 | openSUSE-SU-2024:11185-1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | postgresql-10 | 10.9-0ubuntu0.18.04.1 |
| 18.04-ESM | postgresql-10 | 10.9-0ubuntu0.18.04.1 |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00035.html
- access.redhat.com https://access.redhat.com/security/cve/CVE-2019-10164
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10164
- linux.oracle.com https://linux.oracle.com/cve/CVE-2019-10164.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2021-9290.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MAGE6H4FWLKFLHLWVYNPYGQRPIXTUWGB/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TTKEHXGDXYYD6WYDIIQJP4GDQJSENDJK/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2019-10164
- security.gentoo.org https://security.gentoo.org/glsa/202003-03
- ubuntu.com https://ubuntu.com/security/notices/USN-4027-1
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.