Memory leak in PostgreSQL - CVE-2019-10129
Published: May 10, 2019
Vulnerability identifier: #VU18423
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-10129
CWE-ID: CWE-401
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to read parts of system memory.
The vulnerability exists due memory leak when processing INSERT queries. A remote authenticated user can execute a specially crafted INSERT statement to a partitioned table and read parts of memory.
Affected software
PostgreSQL
Gentoo Linux
Fedora
postgresql-9.5 (Ubuntu package)
postgresql (Alpine package)
postgresql-10 (Ubuntu package)
postgresql-11 (Ubuntu package)
libpq
postgresql
Gentoo Linux
Fedora
postgresql-9.5 (Ubuntu package)
postgresql (Alpine package)
postgresql-10 (Ubuntu package)
postgresql-11 (Ubuntu package)
libpq
postgresql
How to mitigate CVE-2019-10129
Install updates from vendor's website.
PostgreSQL - update to 11.3
postgresql-9.5 (Ubuntu package) - update to 9.5.17-0ubuntu0.16.04.1
postgresql (Alpine package) - update to 9.6.13-r0
postgresql-10 (Ubuntu package) - addressed in versions 10.8-0ubuntu0.18.04.1, 10.8-0ubuntu0.18.10.1
postgresql-11 (Ubuntu package) - update to 11.3-0ubuntu0.19.04.1
libpq - update to 11.4-1.fc30
postgresql - addressed in versions 11.4-1.fc30, 11-2920190717074535.6c81f848, 11-3020190717074535.a5b0195c
postgresql-9.5 (Ubuntu package) - update to 9.5.17-0ubuntu0.16.04.1
postgresql (Alpine package) - update to 9.6.13-r0
postgresql-10 (Ubuntu package) - addressed in versions 10.8-0ubuntu0.18.04.1, 10.8-0ubuntu0.18.10.1
postgresql-11 (Ubuntu package) - update to 11.3-0ubuntu0.19.04.1
libpq - update to 11.4-1.fc30
postgresql - addressed in versions 11.4-1.fc30, 11-2920190717074535.6c81f848, 11-3020190717074535.a5b0195c