____________________________________________________________________________ SuSE Security Announcement Package: postgresql Announcement-ID: SuSE-SA:2002:038 Date: Monday, Oct 21th 2002 17:30 MEST Affected products: 7.0, 7.1, 7.2, 7.3, 8.0 SuSE eMail Server 3.1 SuSE eMail Server III Vulnerability Type: remote privilege escalation Severity (1-10): 3 SuSE default package: no Cross References: CAN-2002-0972 Content of this advisory: 1) security vulnerability resolved: several buffer overflows problem description, discussion, solution and upgrade information 2) pending vulnerabilities, solutions, workarounds: - mod_php4 - kon2 3) standard appendix (further information) ____________________________________________________________________________ 1) problem description, brief discussion, solution, upgrade information The PostgreSQL Object-Relational DBMS was found vulnerable to several security related buffer overflow problems. The buffer overflows are located in: * handling long datetime input * lpad() and rpad() function with multibyte * repeat() function * TZ and SET TIME ZONE environment variables These bugs could just be exploited by attackers who have access to the postgresql server to gain the privileges postgres user ID . The PostgreSQL package is not installed by default. A temporary fix is not known. Please download the update package for your distribution and verify its integrity by the methods listed in section 3) of this announcement. Then, install the package using the command "rpm -Fhv file.rpm" to apply the update. Our maintenance customers are being notified individually. The packages are being offered to install from the maintenance web. i386 Intel Platform: SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap2/postgresql-libs-7.2-103.i386.patch.rpm 295a8b92176718fa0f31d8753b086e3d SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap2/postgresql-libs-7.2-103.i386.rpm ce9a41bcb3711a369168e6b412881e6d SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-7.2-103.i386.patch.rpm c39f7b4bf8474b05a690168cb1580cc9 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-7.2-103.i386.rpm f30d7656ac76b508d02a40fdbab90c4d SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-contrib-7.2-103.i386.patch.rpm 9b371b39106a4f79ca56d1b03b66eac5 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-contrib-7.2-103.i386.rpm b153e3e6ea61e35fb14c4264beecd577 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-devel-7.2-103.i386.patch.rpm 1a1f7922e167f37378f52b59fbde7651 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-devel-7.2-103.i386.rpm ac259e05005d1cbaf1f34f27ef9b92c7 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-docs-7.2-103.i386.patch.rpm b5145ffd46e3bf6471c87dcfe1c411b2 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-docs-7.2-103.i386.rpm 866925a31b6e5529440bf08ac787ad7a SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-jdbc-7.2-103.i386.patch.rpm 77bdf60627640b8a6baaccd73f2eef9a SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-jdbc-7.2-103.i386.rpm e570f6b712bd5a4752a18b8cf1fab9ff SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-odbc-7.2-103.i386.patch.rpm 49362f0d17092e2da8adae5bf81f1906 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-odbc-7.2-103.i386.rpm 4ab42090bd625e5c1cf1741fc05a685a SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-perl-7.2-103.i386.patch.rpm 11ada7e5e749e78eb98d82f7b1846aa6 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-perl-7.2-103.i386.rpm 968526d469a4450550ab4ba5b6f83027 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-python-7.2-103.i386.patch.rpm e7b986baf11871378560d9c2fa61b717 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-python-7.2-103.i386.rpm ad7359f18de98e9bbdb77e92ff0de37f SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-server-7.2-103.i386.patch.rpm b7d92162a97d27e63e8bee03abff0716 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-server-7.2-103.i386.rpm 65aba6a9afd5d38efca03cdf708597f2 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-tcl-7.2-103.i386.patch.rpm 547ce19ff0921855fdedbd2f644725cc SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-tcl-7.2-103.i386.rpm 3097e791c00a11b4fd53914009677eb2 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-test-7.2-103.i386.patch.rpm 6a41815ed8de498044b9e58851232135 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-test-7.2-103.i386.rpm 959c2270454ee03bd639b34d677ee1a7 SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-tk-7.2-103.i386.patch.rpm e8fd82140e1ffd6e29f53bda5d8598ed SuSE-8.0 ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap3/postgresql-tk-7.2-103.i386.rpm 7ea684c3a96ec347921dba32d70e905e source rpm: ftp://ftp.suse.com/pub/suse/i386/update/8.0/zq1/postgresql-7.2-103.src.rpm a41380367f2b198c697f7d3409769633 SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap2/postgresql-libs-7.1.3-116.i386.rpm 666fafcf35e113ce1a4f36c79abac810 SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap3/postgresql-7.1.3-116.i386.rpm f69d09bbcfcf41c36f929de48b48282a SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap3/postgresql-contrib-7.1.3-116.i386.rpm fd4de823cfc05743a9919eaedf SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap3/postgresql-devel-7.1.3-116.i386.rpm 1d5d8b74cae636cd10baa3a6c419bd14 SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap3/postgresql-docs-7.1.3-116.i386.rpm da9a94d3a582ce37f353a82af8934d5c SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap3/postgresql-jdbc-7.1.3-116.i386.rpm a86c849130f63036b8d66f9880c91d98 SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap3/postgresql-odbc-7.1.3-116.i386.rpm ab55332c9a8742b456dbf44079b93c62 SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap3/postgresql-perl-7.1.3-116.i386.rpm 8f40f336912f9c11222aa8e75a8f42d0 SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap3/postgresql-python-7.1.3-116.i386.rpm 8e87f0fb3b8b44824ae53cf364f7452d SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap3/postgresql-server-7.1.3-116.i386.rpm 738aabbc7c2f86443b6f2f37bdaf45e1 SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap3/postgresql-tcl-7.1.3-116.i386.rpm d2741442b2d87d665a400dd20efdd379 SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap3/postgresql-test-7.1.3-116.i386.rpm 122befa7a0b5021e85f7348ec1e959f4 SuSE-7.3 ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap3/postgresql-tk-7.1.3-116.i386.rpm 9eab7b2c22e0c82f327fd1685a3d9eb1 source rpm: ftp://ftp.suse.com/pub/suse/i386/update/7.3/zq1/postgresql-7.1.3-116.src.rpm df2bbdb0e393e98175277351a3ded1ac Sparc Platform: Due to lack of resources new packages will be made available later without any further notice. AXP Alpha Platform: Due to lack of resources new packages will be made available later without any further notice. PPC Power PC Platform: SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap2/postgresql-libs-7.1.3-95.ppc.rpm e67b7b469ffd9cc90d674159270cb5c9 SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap3/postgresql-7.1.3-95.ppc.rpm ee2f6f8d149fc651e88e7b183a33727e SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap3/postgresql-contrib-7.1.3-95.ppc.rpm 58e9b9d3e8939fbe8d243ff183d2950d SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap3/postgresql-devel-7.1.3-95.ppc.rpm 018928248f9052ee0e92a143e35fed44 SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap3/postgresql-docs-7.1.3-95.ppc.rpm 1d906d52a9de9020bea1cb0f62dcfb1b SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap3/postgresql-jdbc-7.1.3-95.ppc.rpm d7fd91833f8b6cf62334351c1114bc30 SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap3/postgresql-odbc-7.1.3-95.ppc.rpm ea2bba775ec4b4518e63f9130d5cf7d6 SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap3/postgresql-perl-7.1.3-95.ppc.rpm 265b8715c2961cf6e6c53745c14d9c5e SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap3/postgresql-python-7.1.3-95.ppc.rpm 48b0aeb6aacdc4e6a756ff47914bbfa8 SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap3/postgresql-server-7.1.3-95.ppc.rpm 5b1a62fe810df234d10a64b7fdba2481 SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap3/postgresql-tcl-7.1.3-95.ppc.rpm c6aa4f989319efb9217df0d1cae51103 SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap3/postgresql-test-7.1.3-95.ppc.rpm ec661b2e8e483bda2d3587556f17010f SuSE-7.3 ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap3/postgresql-tk-7.1.3-95.ppc.rpm 06de87a238751fe6113fb0f8dbe11dd1 source rpm: ftp://ftp.suse.com/pub/suse/ppc/update/7.3/zq1/postgresql-7.1.3-95.src.rpm c98a8567cb2c9f7d0c2b095fed7daeb1 SuSE-7.1 ftp://ftp.suse.com/pub/suse/ppc/update/7.1/ap2/postgresql-devel-7.0.3-23.ppc.rpm 8e005c33619240fda1461fb35c08c9b5 SuSE-7.1 ftp://ftp.suse.com/pub/suse/ppc/update/7.1/ap2/postgresql-jdbc-7.0.3-23.ppc.rpm 06d51dd04c9490064bc4a07c81ee9f24 SuSE-7.1 ftp://ftp.suse.com/pub/suse/ppc/update/7.1/ap2/postgresql-lib-7.0.3-23.ppc.rpm e1c07b01422f37c656481c1a6566698e SuSE-7.1 ftp://ftp.suse.com/pub/suse/ppc/update/7.1/ap2/postgresql-odbc-7.0.3-23.ppc.rpm c897de110479618be9b122cdc897442e SuSE-7.1 ftp://ftp.suse.com/pub/suse/ppc/update/7.1/ap2/postgresql-perl-7.0.3-23.ppc.rpm 26e09530d4aba750a93dac74d68aeded SuSE-7.1 ftp://ftp.suse.com/pub/suse/ppc/update/7.1/ap2/postgresql-python-7.0.3-23.ppc.rpm 1cc6f6f78dd5459ac3b7573bb40951fd SuSE-7.1 ftp://ftp.suse.com/pub/suse/ppc/update/7.1/ap2/postgresql-server-7.0.3-23.ppc.rpm a38f645bc5ba6046ee2de0fae2be3ee5 SuSE-7.1 ftp://ftp.suse.com/pub/suse/ppc/update/7.1/ap2/postgresql-tcl-7.0.3-23.ppc.rpm d0a90015bae1937411f2e424c8d0f2f3 SuSE-7.1 ftp://ftp.suse.com/pub/suse/ppc/update/7.1/ap2/postgresql-test-7.0.3-23.ppc.rpm 967d48e91bed1a41d0a236024d01c95f SuSE-7.1 ftp://ftp.suse.com/pub/suse/ppc/update/7.1/ap2/postgresql-tk-7.0.3-23.ppc.rpm 2d7e5e348404c467a8bb3a54dbddd4eb SuSE-7.1 ftp://ftp.suse.com/pub/suse/ppc/update/7.1/ap3/postgresql-7.0.3-23.ppc.rpm 10500a645eabc14f806e08f43bf238e7 source rpm: ftp://ftp.suse.com/pub/suse/ppc/update/7.1/zq1/postgresql-7.0.3-23.src.rpm 49ad314541f098a1f24884a22049275a ____________________________________________________________________________ 2) Pending vulnerabilities in SuSE Distributions and Workarounds: - mod_php4 There was a mistake in Advisory SuSE-SA:2002:036 in section "Affected products". SuSE 7.0 and 7.1 are _not_ vulnerable. - kon2 There is a vulnerability in kon2, a Japanese input manager for the VGA console, that can be exploited by local users to obtain root privilege. We recommend to un-install kon2. ________________________________________________________________________ 3) standard appendix: authenticity verification, additional information - Package authenticity verification: SuSE update packages are available on many mirror ftp servers all over the world. While this service is being considered valuable and important to the free and open source software community, many users wish to be sure about the origin of the package and its content before installing the package. There are two verification methods that can be used independently from each other to prove the authenticity of a downloaded file or rpm package: 1) md5sums as provided in the (cryptographically signed) announcement. 2) using the internal gpg signatures of the rpm package. 1) execute the command md5sum <name-of-the-file.rpm> after you downloaded the file from a SuSE ftp server or its mirrors. Then, compare the resulting md5sum with the one that is listed in the announcement. Since the announcement containing the checksums is cryptographically signed (usually using the key security@suse.de), the checksums show proof of the authenticity of the package. We disrecommend to subscribe to security lists which cause the email message containing the announcement to be modified so that the signature does not match after transport through the mailing list software. Downsides: You must be able to verify the authenticity of the announcement in the first place. If RPM packages are being rebuilt and a new version of a package is published on the ftp server, all md5 sums for the files are useless. 2) rpm package signatures provide an easy way to verify the authenticity of an rpm package. Use the command rpm -v --checksig <file.rpm> to verify the signature of the package, where <file.rpm> is the filename of the rpm package that you have downloaded. Of course, package authenticity verification can only target an un-installed rpm package file. Prerequisites: a) gpg is installed b) The package is signed using a certain key. The public part of this key must be installed by the gpg program in the directory ~/.gnupg/ under the user's home directory who performs the signature verification (usually root). You can import the key that is used by SuSE in rpm packages for SuSE Linux by saving this announcement to a file ("announcement.txt") and running the command (do "su -" to be root): gpg --batch; gpg < announcement.txt | gpg --import SuSE Linux distributions version 7.1 and thereafter install the key "build@suse.de" upon installation or upgrade, provided that the package gpg is installed. The file containing the public key is placed at the top-level directory of the first CD (pubring.gpg) and at ftp://ftp.suse.com/pub/suse/pubring.gpg-build.suse.de . - SuSE runs two security mailing lists to which any interested party may subscribe: suse-security@suse.com - general/linux/SuSE security discussion. All SuSE security announcements are sent to this list. To subscribe, send an email to <suse-security-subscribe@suse.com>. suse-security-announce@suse.com - SuSE's announce-only mailing list. Only SuSE's security announcements are sent to this list. To subscribe, send an email to <suse-security-announce-subscribe@suse.com>. For general information or the frequently asked questions (FAQ) send mail to: <suse-security-info@suse.com> or <suse-security-faq@suse.com> respectively. ===================================================================== SuSE's security contact is <security@suse.com> or <security@suse.de>. The <security@suse.de> public key is listed below. ===================================================================== ____________________________________________________________________________ The information in this advisory may be distributed or reproduced, provided that the advisory is not modified in any way. In particular, it is desired that the clear-text signature shows proof of the authenticity of the text. SuSE Linux AG makes no warranties of any kind whatsoever with respect to the information contained in this security advisory. Type Bits/KeyID Date User ID pub 2048R/3D25D3D9 1999-03-06 SuSE Security Team <security@suse.de> pub 1024D/9C800ACA 2000-10-19 SuSE Package Signing Key <build@suse.de> Bye, Thomas -- Thomas Biege <thomas@suse.de> SuSE Linux AG,Deutschherrnstr. 15-19,90429 Nuernberg Function: Security Support & Auditing "lynx -source http://www.suse.de/~thomas/contact/thomas.asc | pgp -fka" Key fingerprint = 51 AD B9 C7 34 FC F2 54 01 4A 1C D4 66 64 09 83 -- Cold silence has a tendency to atrophy any sense of compassion - Maynard James Keenan
SuSE Linux Advisory: postgresql
By
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis