Skip to navigation

Security Advisory postgresql security update

Advisory: RHSA-2002:301-14
Type: Security Advisory
Severity: Important
Issued on: 2003-02-06
Last updated on: 2003-02-05
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
CVEs (cve.mitre.org): CVE-2002-0972
CVE-2002-1397
CVE-2002-1398
CVE-2002-1400
CVE-2002-1401
CVE-2002-1402

Details

Updated PostgreSQL packages are available which correct
several minor security vulnerabilities.

[Updated 06 Feb 2003]
Added fixed packages for Advanced Workstation 2.1

PostgreSQL is an advanced Object-Relational database management system
(DBMS). Red Hat Linux Advanced Server 2.1 shipped with PostgreSQL version
7.1.3 which has several security vulnerabilities.

Buffer overflows in PostgreSQL 7.2 allow attackers to cause a denial of
service and possibly execute arbitrary code via long arguments to the lpad
or rpad functions. CAN-2002-0972

Buffer overflow in the cash_words() function for PostgreSQL 7.2 and
earlier allows local users to cause a denial of service and possibly
execute arbitrary code via a malformed argument. CAN-2002-1397

Buffer overflow in the date parser for PostgreSQL before 7.2.2 allows
attackers to cause a denial of service and possibly execute arbitrary
code via a long date string, referred to as a vulnerability "in handling
long datetime input." CAN-2002-1398

Heap-based buffer overflow in the repeat() function for PostgreSQL
before 7.2.2 allows attackers to execute arbitrary code by causing
repeat() to generate a large string. CAN-2002-1400

Buffer overflows in circle_poly, path_encode, and path_add allow attackers
to cause a denial of service and possibly execute arbitrary code. Note
that these issues have been fixed in our packages and in PostgreSQL CVS,
but are not included in PostgreSQL version 7.2.2 or 7.2.3. CAN-2002-1401

Buffer overflows in the TZ and SET TIME ZONE enivronment variables for
PostgreSQL 7.2.1 and earlier allow local users to cause a denial of service
and possibly execute arbitrary code. CAN-2002-1402

Note that these vulnerabilities are only critical on open or shared systems
because connecting to the database is required before the vulnerabilities
can be exploited.

The PostgreSQL Global Development Team has released versions of PostgreSQL
that fix these vulnerabilities, and these fixes have been isolated and
backported into the updated 7.1.3 packages provided with this errata.
All users of Red Hat Linux Advanced Server 2.1 who use PostgreSQL are
advised to install these updated packages.


Solution

This update corrects all of the above-mentioned buffer overruns.

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

Please note that this update is available via Red Hat Network. To use Red
Hat Network, launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

Note that no initdb will be necessary from previous PostgreSQL 7.1.3 packages.

Updated packages

Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
postgresql-7.1.3-4bp.2.src.rpm
File outdated by:  RHBA-2005:240
    MD5: 27ec75858d8f15e4333c78ca816186dc
postgresql-7.1.3-4bp.2.src.rpm
File outdated by:  RHBA-2005:240
    MD5: 27ec75858d8f15e4333c78ca816186dc
 
IA-32:
postgresql-7.1.3-4bp.2.i386.rpm
File outdated by:  RHBA-2005:240
    MD5: 88ca89fd6c48d158604cb19c4721b8fb
postgresql-contrib-7.1.3-4bp.2.i386.rpm
File outdated by:  RHBA-2005:240
    MD5: 673229fe4d65ad583213fbad4199921a
postgresql-devel-7.1.3-4bp.2.i386.rpm
File outdated by:  RHBA-2005:240
    MD5: 901624d92faeadbc56597a465e23313a
postgresql-docs-7.1.3-4bp.2.i386.rpm
File outdated by:  RHBA-2005:240
    MD5: 31008741d14629a520c99db5c3637f99
postgresql-jdbc-7.1.3-4bp.2.i386.rpm
File outdated by:  RHBA-2005:240
    MD5: ada8e8568e3626a2f7355543765e8317
postgresql-libs-7.1.3-4bp.2.i386.rpm
File outdated by:  RHBA-2005:240
    MD5: 96062e762166c1990448caf6c3334881
postgresql-odbc-7.1.3-4bp.2.i386.rpm
File outdated by:  RHBA-2005:240
    MD5: f0b3cf36ce4467c0dc4ca5a1e0b78b29
postgresql-perl-7.1.3-4bp.2.i386.rpm
File outdated by:  RHBA-2005:240
    MD5: 539669074df1afb9d6c7fac0ac51ed3d
postgresql-python-7.1.3-4bp.2.i386.rpm
File outdated by:  RHBA-2005:240
    MD5: fa64bdf8c2b2626fcdedbe1def872b01
postgresql-server-7.1.3-4bp.2.i386.rpm
File outdated by:  RHBA-2005:240
    MD5: 67fe5d278a89c5cffb490d5e803390d2
postgresql-tcl-7.1.3-4bp.2.i386.rpm
File outdated by:  RHBA-2005:240
    MD5: f4ff49541ccf2cee6ab9f5d72c0a3003
postgresql-tk-7.1.3-4bp.2.i386.rpm
File outdated by:  RHBA-2005:240
    MD5: 7682e8c17b6658be3cb102f3ddb06fd9
 
IA-64:
postgresql-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 04af46f5c9f0cfcd1e4c12c8363bfffd
postgresql-contrib-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: f0b512e2da303b9450fc686d50fe8c9a
postgresql-devel-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 976a6297da982a1c381a2c2edee2f6fe
postgresql-docs-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 90609e955c4a271820be3948b45489f7
postgresql-jdbc-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 988963a98acd91b25b8eb927229af65b
postgresql-libs-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 667849e8e0cd899451b46bd7fad26b59
postgresql-odbc-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 0328a3c04aba598d48251ccd2816498a
postgresql-perl-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: aea10ae95c6e2f3c319f16fabc2023eb
postgresql-python-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 228a329364b0cff9a2517042527907fe
postgresql-server-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: bbe6bee4fdec718afb57e94d7410795a
postgresql-tcl-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 9ca311fbdbe517743e98d78fd3e90fc6
postgresql-tk-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: ad36915a19a545d10197976b6753bd28
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
postgresql-7.1.3-4bp.2.src.rpm
File outdated by:  RHBA-2005:240
    MD5: 27ec75858d8f15e4333c78ca816186dc
postgresql-7.1.3-4bp.2.src.rpm
File outdated by:  RHBA-2005:240
    MD5: 27ec75858d8f15e4333c78ca816186dc
 
IA-64:
postgresql-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 04af46f5c9f0cfcd1e4c12c8363bfffd
postgresql-contrib-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: f0b512e2da303b9450fc686d50fe8c9a
postgresql-devel-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 976a6297da982a1c381a2c2edee2f6fe
postgresql-docs-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 90609e955c4a271820be3948b45489f7
postgresql-jdbc-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 988963a98acd91b25b8eb927229af65b
postgresql-libs-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 667849e8e0cd899451b46bd7fad26b59
postgresql-odbc-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 0328a3c04aba598d48251ccd2816498a
postgresql-perl-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: aea10ae95c6e2f3c319f16fabc2023eb
postgresql-python-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 228a329364b0cff9a2517042527907fe
postgresql-server-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: bbe6bee4fdec718afb57e94d7410795a
postgresql-tcl-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: 9ca311fbdbe517743e98d78fd3e90fc6
postgresql-tk-7.1.3-4bp.2.ia64.rpm
File outdated by:  RHBA-2005:240
    MD5: ad36915a19a545d10197976b6753bd28
 

References


Keywords

datetime, lpad, multibyte, PostgreSQL, rpad


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/