Amazon Linux AMI : postgresql93 / postgresql94,postgresql95 (ALAS-2018-1079)
Medium Nessus Plugin ID 117603
SynopsisThe remote Amazon Linux AMI host is missing a security update.
DescriptionA vulnerability was found in libpq, the default PostgreSQL client library where libpq failed to properly reset its internal state between connections. If an affected version of libpq were used with 'host' or 'hostaddr' connection parameters from untrusted input, attackers could bypass client-side connection security features, obtain access to higher privileged connections or potentially cause other impact through SQL injection, by causing the PQescape() functions to malfunction.(CVE-2018-10915)
It was discovered that PostgreSQL failed to properly check authorization on certain statements involved with 'INSERT ... ON CONFLICT DO UPDATE'. An attacker with 'CREATE TABLE' privileges could exploit this to read arbitrary bytes server memory. If the attacker also had certain 'INSERT' and limited 'UPDATE' privileges to a particular table, they could exploit this to update other columns in the same table.(CVE-2018-10925)
SolutionRun 'yum update postgresql93' to update your system.
Run 'yum update postgresql94' to update your system.
Run 'yum update postgresql95' to update your system.