PostgreSQL circle_poly, path_encode, and path_add functions integer overflows
| postgresql-circlepoly-integer-overflow (11080) |
Description:
PostgreSQL is vulnerable to a denial of service attack, caused by integer overflows in the in circle_poly, path_encode, and path_add functions. A remote attacker could exploit this vulnerability to overflow a buffer and execute arbitrary code on the system or cause the system to crash.
Consequences:
Gain Access
Remedy:
For Red Hat Linux 7.3:
Upgrade to the latest PostgreSQL package as listed below. Refer to RHSA-2003:001-16 for more information. See References.
Red Hat 7.3: postgresql-7.2.3-5.73 or later
For Red Hat Linux 6.2, 7.0, 7.1, and 7.2:
Upgrade to the latest PostgreSQL package, as listed below. Refer to RHSA-2003:010-10 for more information. See References.
Red Hat Linux 6.2: postgresql-6.5.3-7.3 or later
Red Hat Linux 7.0: postgresql-7.0.2-18.2 or later
Red Hat Linux 7.1: postgresql-7.0.3-9.2 or later
Red Hat Linux 7.2: postgresql-7.1.3-4bp.2 or later
For Debian GNU/Linux:
Upgrade to the latest PostgreSQL packages, as listed below. Refer to DSA-165-1 for more information. See References.
Debian 2.2: 6.5.3-27.2 or later
Debian 3.0: 7.2.1-2woody2 or later
For Conectiva Linux:
Upgrade to the latest PostgreSQL package, as listed below. Refer to Conectiva Linux Announcement CLSA-2002:524 for more information. See References.
Conectiva Linux: 6.0: 7.0.3-11U60_2cl or later
Conectiva Linux: 7.0: 7.1.3-1U70_3cl or later
Conectiva Linux: 8.0: 7.2.2-1U80_2clor later
For Mandrake Linux:
Upgrade to the latest postgresql package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2002:062-1:postgresql for more information. See References.
Mandrake Linux 7.2: 7.0.2-6.2mdk or later
Mandrake Linux 8.0: 7.0.3-12.3mdk or later
Mandrake Linux 8.1: 7.1.2-19.3mdk or later
Mandrake Linux 8.2: 7.2-12.2mdk or later
Mandrake Linux 9.0: 7.2.2-1.2mdk or later
Single Network Firewall 7.2: 7.0.2-6.2mdk or later
For Immunix OS 7+:
Upgrade to the latest version of postgresql (7.0.2-18.2_imnx_1 or later), as listed in Immunix OS Security Advisory IMNX-2003-7+-005-01. See References.
For other distributions:
Contact your vendor for upgrade or patch information
References:
- Conectiva Linux Announcement CLSA-2002:524: Buffer overflow vulnerabilities.
- Immunix OS Security Advisory IMNX-2003-7+-005-01: postgresql. (From LinuxSecurity archive)
- PostgreSQL Web site: @(#)Mordre Labs advisory 0x0005: Several buffer overruns in PostgreSQL.
- BID-6610: PostgreSQL path_encode() Buffer Overflow Vulnerability
- BID-6614: PostgreSQL path_add() Buffer Overrun Vulnerability
- BID-6615: PostgreSQL Circle_Poly Buffer Overflow Vulnerability
- CVE-2002-1401: Buffer overflows in (1) circle_poly, (2) path_encode and (3) path_add (also incorrectly identified as path_addr) for PostgreSQL 7.2.3 and earlier allow attackers to cause a denial of service and possibly execute arbitrary code, possibly as a result of an integer overflow.
- DSA-165: postgresql -- buffer overflows
- RHSA-2002-301: postgresql security update
- RHSA-2003-001: Updated PostgreSQL packages fix security issues and bugs
- RHSA-2003-010: Updated PostgreSQL packages fix buffer overrun vulnerabilities
- SA8034: Mandrake updates to postgresql
Platforms Affected:
- Conectiva Linux 6.0
- Conectiva Linux 7.0
- Conectiva Linux 8.0
- Debian Debian Linux 2.2
- Debian Debian Linux 3.0
- Immunix Immunix OS 7+-beta
- Immunix Immunix OS 7.0
- MandrakeSoft Mandrake Linux 7.2
- MandrakeSoft Mandrake Linux 8.0
- MandrakeSoft Mandrake Linux 8.1
- MandrakeSoft Mandrake Linux 8.2
- MandrakeSoft Mandrake Linux 9.0
- MandrakeSoft Mandrake Single Network Firewall 7.2
- PostgreSQL PostgreSQL 6.3.2
- PostgreSQL PostgreSQL 6.5.3
- PostgreSQL PostgreSQL 7.0.3
- PostgreSQL PostgreSQL 7.1
- PostgreSQL PostgreSQL 7.1.1
- PostgreSQL PostgreSQL 7.1.2
- PostgreSQL PostgreSQL 7.1.3
- PostgreSQL PostgreSQL 7.2
- PostgreSQL PostgreSQL 7.2.1
- PostgreSQL PostgreSQL 7.2.2
- PostgreSQL PostgreSQL 7.2.3
- RedHat Enterprise Linux 2.1 AS
- RedHat Linux 6.2
- RedHat Linux 7
- RedHat Linux 7.1
- RedHat Linux 7.2
- RedHat Linux 7.3
- RedHat Linux 8.0
- RedHat Linux Advanced Workstation 2.1 Itanium
Reported:
Aug 28, 2002
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
