Description: | Description:
The remote host is missing an update to postgresql announced via advisory MDKSA-2002:062-1.
Vulnerabilities were discovered in the Postgresql relational database by Mordred Labs. These vulnerabilities are buffer overflows in the rpad(), lpad(), repeat(), and cash_words() functions. The Postgresql developers also fixed a buffer overflow in functions that deal with time/date and timezone.
Finally, more buffer overflows were discovered by Mordred Labs in the 7.2.2 release that are currently only fixed in CVS. These buffer overflows exist in the circle_poly(), path_encode(), and path_addr() functions.
In order for these vulnerabilities to be exploited, an attacker must be able to query the server somehow. However, this cannot directly lead to root privilege because the server runs as the postgresql user.
Prior to upgrading, users should dump their database and retain it as backup. You can dump the database by using:
$ pg_dumpall > db.out
If you need to restore from the backup, you can do so by using:
$ psql -f db.out template1
Update:
The previous update missed a few small fixes, including a buffer overflow in the cash_words() function that allows local users to cause a DoS and possibly execute arbitrary code via a malformed argument in Postgresql 7.2 and earlier. As well, buffer overflows in the TZ and SET TIME ZONE environment variables for Postgresql 7.2.1 and earlier can allow local users to cause a DoS and possibly execute arbitrary code.
Affected versions: 7.2, 8.0, 8.1, 8.2, 9.0, Single Network Firewall 7.2
Solution: To upgrade automatically use MandrakeUpdate or urpmi. The verification of md5 checksums and GPG signatures is performed automatically for you.
http://www.securityspace.com/smysecure/catid.html?in=MDKSA-2002:062-1 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0972 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1397 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1398 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1400 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1401 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1402 http://archives.postgresql.org/pgsql-announce/2002-08/msg00004.php http://online.securityfocus.com/archive/1/288036 http://online.securityfocus.com/archive/1/288305 http://online.securityfocus.com/archive/1/288334
Risk factor : High
CVSS Score: 7.5
|