Distro advisory · AmazonLinux 1
medium priority package update for postgresql8
AmazonLinux 1
What it fixes
Package updates are available for Amazon Linux that fix the following vulnerabilities: CVE-2012-0868: The pg_dump utility inserted object names literally into comments in the SQL script it produces. An unprivileged database user could create an object whose name includes a newline followed by an SQL command. This SQL command might then be executed by a privileged user during later restore of the backup dump, allowing privilege escalation. CRLF injection vulnerability in pg_dump in PostgreSQL 8.3.x before 8.3.18, 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 allows user-assisted remote attackers to execute arbitrary SQL commands via a crafted file containing object names with newlines, which are inserted into an SQL script that is used when the database is restored. 797917: CVE-2012-0868 postgresql: SQL injection due unsanitized newline characters in object names
CVE-2012-0867: When configured to do SSL certificate verification, PostgreSQL only checked the first 31 characters of the certificate's Common Name field. Depending on the configuration, this could allow an attacker to impersonate a server or a client using a certificate from a trusted Certificate Authority issued for a different name. PostgreSQL 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 truncates the common name to only 32 characters when verifying SSL certificates, which allows remote attackers to spoof connections when the host name is exactly 32 characters. 797915: CVE-2012-0867 postgresql: MITM due improper x509_v3 CN validation during certificate verification
CVE-2012-0866: CREATE TRIGGER in PostgreSQL 8.3.x before 8.3.18, 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 does not properly check the execute permission for trigger functions marked SECURITY DEFINER, which allows remote authenticated users to execute otherwise restricted triggers on arbitrary data by installing the trigger on an attacker-owned table. CREATE TRIGGER did not do a…
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2012-82sudo yum upgrade --advisory=ALAS-2012-82rpm -q postgresql8Sources