OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-web Date: 11-Nov-2003 21:08:06
Branch: HEAD Handle: 2003111120080501
Added files:
openpkg-web/security OpenPKG-SA-2003.048-postgresql.txt
Modified files:
openpkg-web security.txt
openpkg-web/security page.pl
Log:
add updated PostgreSQL SA
Summary:
Revision Changes Path
1.55 +1 -0 openpkg-web/security.txt
1.1 +100 -0 openpkg-web/security/OpenPKG-SA-2003.048-postgresql.txt
1.31 +1 -1 openpkg-web/security/page.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-web/security.txt
============================================================================
$ cvs diff -u -r1.54 -r1.55 security.txt
--- openpkg-web/security.txt 30 Oct 2003 10:48:39 -0000 1.54
+++ openpkg-web/security.txt 11 Nov 2003 20:08:05 -0000 1.55
@@ -1,3 +1,4 @@
+11-Nov-2003: Security Advisory: S<OpenPKG-SA-2003.048-postgresql>
30-Oct-2003: Security Advisory: S<OpenPKG-SA-2003.047-postgresql>
28-Oct-2003: Security Advisory: S<OpenPKG-SA-2003.046-apache>
19-Oct-2003: Security Advisory: S<OpenPKG-SA-2003.045-ircd>
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/security/OpenPKG-SA-2003.048-postgresql.txt
============================================================================
$ cvs diff -u -r0 -r1.1 OpenPKG-SA-2003.048-postgresql.txt
--- /dev/null 2003-11-11 21:08:06.000000000 +0100
+++ OpenPKG-SA-2003.048-postgresql.txt 2003-11-11 21:08:06.000000000 +0100
@@ -0,0 +1,100 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+________________________________________________________________________
+
+OpenPKG Security Advisory The OpenPKG Project
+http://www.openpkg.org/security.html http://www.openpkg.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
+OpenPKG-SA-2003.048 11-Nov-2003
+________________________________________________________________________
+
+Package: postgresql
+Vulnerability: remote code execution
+OpenPKG Specific: no
+
+Affected Releases: Affected Packages: Corrected Packages:
+OpenPKG CURRENT <= postgresql-7.3.3-20030723 >= postgresql-7.3.4-20030725
+OpenPKG 1.3 N.A. none
+OpenPKG 1.2 <= postgresql-7.3.1-1.2.3 >= postgresql-7.3.1-1.2.4
+
+Dependent Packages: none
+
+Notice:
+ This is an update for the OpenPKG security advisory
+ OpenPKG-SA-2003.047 [7], released on 30-Oct-2003. Unfortunately, the
+ package postgresql-7.3.1-1.2.3 (for OpenPKG 1.2 only) accompanying the
+ original security advisory was broken because the created security
+ patch was accidentally not included into the resulting source RPM
+ package. Thanks to Andreas from Conectiva for discovering this
+ packaging bug. The package postgresql-7.3.1-1.2.4 accompanying this
+ updated security advisory is now fixed by correctly including the
+ necessary security patch.
+
+Description:
+ Two bugs leading to a buffer overflow in the PostgreSQL [0] RDBMS,
+ versions 7.2.x and 7.3.x prior to 7.3.4, were discovered. The
+ vulnerability exists in the PostgreSQL abstract data type (ADT) to
+ ASCII conversion functions.
+
+ It has been conjectured that excessive data passed to the involved
+ to_ascii_xxx() functions may overrun the bounds of an insufficient
+ buffer reserved in heap memory, resulting in the corruption of heap
+ based memory management structures that are adjacent to it. It is
+ currently believed that under the correct circumstances an attacker
+ may use this to execute arbitrary instructions in the context of the
+ PostgreSQL server.
+
+ The Common Vulnerabilities and Exposures (CVE) project assigned the id
+ CAN-2003-0901 [1] to the problem.
+
+ Please check whether you are affected by running "<prefix>/bin/rpm -q
+ postgresql". If you have the "postgresql" package installed and its
+ version is affected (see above), we recommend that you immediately
+ upgrade it (see Solution). [2][3]
+
+Solution:
+ Select the updated source RPM appropriate for the OpenPKG release
+ [4], fetch it from the OpenPKG FTP service [5] or a mirror location,
+ verify its integrity [6], build a corresponding binary RPM from it
+ [2] and update your OpenPKG installation by applying the binary RPM
+ [3]. For the release OpenPKG 1.2, perform the following operations
+ to permanently fix the security problem (for other releases adjust
+ accordingly).
+
+ $ ftp ftp.openpkg.org
+ ftp> bin
+ ftp> cd release/1.2/UPD
+ ftp> get postgresql-7.3.1-1.2.4.src.rpm
+ ftp> bye
+ $ <prefix>/bin/rpm -v --checksig postgresql-7.3.1-1.2.4.src.rpm
+ $ <prefix>/bin/rpm --rebuild postgresql-7.3.1-1.2.4.src.rpm
+ $ su -
+ # <prefix>/bin/rpm -Fvh <prefix>/RPM/PKG/postgresql-7.3.1-1.2.4.*.rpm
+________________________________________________________________________
+
+References:
+ [0] http://www.postgresql.org/
+ [1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0901
+ [2] http://www.openpkg.org/tutorial.html#regular-source
+ [3] http://www.openpkg.org/tutorial.html#regular-binary
+ [4] ftp://ftp.openpkg.org/release/1.2/UPD/postgresql-7.3.1-1.2.4.src.rpm
+ [5] ftp://ftp.openpkg.org/release/1.2/UPD/
+ [6] http://www.openpkg.org/security.html#signature
+ [7] http://www.openpkg.org/security/OpenPKG-SA-2003.047-postgresql.html
+________________________________________________________________________
+
+For security reasons, this advisory was digitally signed with the
+OpenPGP public key "OpenPKG <[EMAIL PROTECTED]>" (ID 63C4CB9F) of the
+OpenPKG project which you can retrieve from http://pgp.openpkg.org and
+hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/
+for details on how to verify the integrity of this advisory.
+________________________________________________________________________
+
+-----BEGIN PGP SIGNATURE-----
+Comment: OpenPKG <[EMAIL PROTECTED]>
+
+iD8DBQE/sUFYgHWT4GPEy58RApsCAJ0Z5dkfQ1Leat0onVjQ1Nxj65EttgCeMUHk
+dz0qNGVmCWV+frfjVaMqxbg=
+=H1WA
+-----END PGP SIGNATURE-----
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/security/page.pl
============================================================================
$ cvs diff -u -r1.30 -r1.31 page.pl
--- openpkg-web/security/page.pl 28 Oct 2003 14:46:56 -0000 1.30
+++ openpkg-web/security/page.pl 11 Nov 2003 20:08:06 -0000 1.31
@@ -13,7 +13,7 @@
foreach my $sa (reverse sort @SA) {
my ($base, $name, $year) = ($sa =~ m|^(OpenPKG-SA-((\d+)\..+))\.txt$|);
next if ($name =~ m|^0000|);
- next if ($name =~ m|^2003\.04[7-9]|);
+ next if ($name =~ m|^2003\.04[9-9]|);
if ($this_year ne $year) {
$sidebar .= "<br>\n";
$this_year = $year;
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]