Patch  oval:org.mitre.oval:def:8199
DSA-1463 postgresql-7.4 -- several vulnerabilities  

Several local vulnerabilities have been discovered in PostgreSQL, an object-relational SQL database. The Common Vulnerabilities and Exposures project identifies the following problems: It was discovered that the DBLink module performed insufficient credential validation. This issue is also tracked as CVE-2007-6601, since the initial upstream fix was incomplete. Tavis Ormandy and Will Drewry discovered that a bug in the handling of back-references inside the regular expressions engine could lead to an out of bounds read, resulting in a crash. This constitutes only a security problem if an application using PostgreSQL processes regular expressions from untrusted sources. Tavis Ormandy and Will Drewry discovered that the optimizer for regular expression could be tricked into an infinite loop, resulting in denial of service. This constitutes only a security problem if an application using PostgreSQL processes regular expressions from untrusted sources. Tavis Ormandy and Will Drewry discovered that the optimizer for regular expression could be tricked massive resource consumption. This constitutes only a security problem if an application using PostgreSQL processes regular expressions from untrusted sources. Functions in index expressions could lead to privilege escalation. For a more in depth explanation please see the upstream announce available at http://www.postgresql.org/about/news.905. For the old stable distribution (sarge), some of these problems have been fixed in version 7.4.7-6sarge6 of the postgresql package. Please note that the fix for CVE-2007-6600 and for the handling of regular expressions haven’t been backported due to the intrusiveness of the fix. We recommend to upgrade to the stable distribution if these vulnerabilities affect your setup. For the stable distribution (etch), these problems have been fixed in version 7.4.19-0etch1. The unstable distribution (sid) no longer contains postgres-7.4. We recommend that you upgrade your postgresql-7.4 packages.
Create Date: 2009-12-15 Last Update Date: 2014-06-23

Affected Platforms/Products

Affected Products (CPE + CVE references)
Platforms: unix (from OVAL definitions) Products: unix
  • Debian GNU/Linux 4.0
  • Debian GNU/Linux 3.1
  • postgresql-7.4

References

Criteria

The patch should be installed
IF : Any one of the following are true
IF : All of the following are true Release section
Prerequisites (Extended Definitions)
Debian GNU/Linux 3.1 is installed oval:org.mitre.oval:def:7692
IF : Any one of the following are true Architecture section
IF : All of the following are true Architecture independent section
IF : postgresql-doc is earlier than 7.4.7-6sarge6
Linux : Debian DPKG Test :  postgresql-doc is earlier than 7.4.7-6sarge6 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql-doc package information
postgresql-doc
RPM Version less than 0:7.4.7-6sarge6 (datatype=evr_string)
linux : dpkginfo_state 
IF : Installed architecture is all
Uname Test :  Installed architecture is all 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
IF : All of the following are true Architecture dependent section
IF : Any one of the following are true Packages section
IF : postgresql-client is earlier than 7.4.7-6sarge6
Linux : Debian DPKG Test :  postgresql-client is earlier than 7.4.7-6sarge6 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql-client package information
postgresql-client
RPM Version less than 0:7.4.7-6sarge6 (datatype=evr_string)
linux : dpkginfo_state 
IF : libpgtcl-dev is earlier than 7.4.7-6sarge6
Linux : Debian DPKG Test :  libpgtcl-dev is earlier than 7.4.7-6sarge6 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package libpgtcl-dev package information
libpgtcl-dev
RPM Version less than 0:7.4.7-6sarge6 (datatype=evr_string)
linux : dpkginfo_state 
IF : postgresql-dev is earlier than 7.4.7-6sarge6
Linux : Debian DPKG Test :  postgresql-dev is earlier than 7.4.7-6sarge6 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql-dev package information
postgresql-dev
RPM Version less than 0:7.4.7-6sarge6 (datatype=evr_string)
linux : dpkginfo_state 
IF : libecpg-dev is earlier than 7.4.7-6sarge6
Linux : Debian DPKG Test :  libecpg-dev is earlier than 7.4.7-6sarge6 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package libecpg-dev package information
libecpg-dev
RPM Version less than 0:7.4.7-6sarge6 (datatype=evr_string)
linux : dpkginfo_state 
IF : libpgtcl is earlier than 7.4.7-6sarge6
Linux : Debian DPKG Test :  libpgtcl is earlier than 7.4.7-6sarge6 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package libpgtcl package information
libpgtcl
RPM Version less than 0:7.4.7-6sarge6 (datatype=evr_string)
linux : dpkginfo_state 
IF : postgresql is earlier than 7.4.7-6sarge6
Linux : Debian DPKG Test :  postgresql is earlier than 7.4.7-6sarge6 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql package information
postgresql
RPM Version less than 0:7.4.7-6sarge6 (datatype=evr_string)
linux : dpkginfo_state 
IF : libecpg4 is earlier than 7.4.7-6sarge6
Linux : Debian DPKG Test :  libecpg4 is earlier than 7.4.7-6sarge6 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package libecpg4 package information
libecpg4
RPM Version less than 0:7.4.7-6sarge6 (datatype=evr_string)
linux : dpkginfo_state 
IF : postgresql-contrib is earlier than 7.4.7-6sarge6
Linux : Debian DPKG Test :  postgresql-contrib is earlier than 7.4.7-6sarge6 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql-contrib package information
postgresql-contrib
RPM Version less than 0:7.4.7-6sarge6 (datatype=evr_string)
linux : dpkginfo_state 
IF : libpq3 is earlier than 7.4.7-6sarge6
Linux : Debian DPKG Test :  libpq3 is earlier than 7.4.7-6sarge6 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package libpq3 package information
libpq3
RPM Version less than 0:7.4.7-6sarge6 (datatype=evr_string)
linux : dpkginfo_state 
IF : Any one of the following are true Supported architectures section
IF : Installed architecture is powerpc
Uname Test :  Installed architecture is powerpc 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) ppc
processor_type is ppc unix : uname_state 
IF : Installed architecture is hppa
Uname Test :  Installed architecture is hppa 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) hppa
processor_type is hppa unix : uname_state 
IF : Installed architecture is alpha
Uname Test :  Installed architecture is alpha 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) alpha
processor_type is alpha unix : uname_state 
IF : Installed architecture is ia64
Uname Test :  Installed architecture is ia64 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) ia64
processor_type is ia64 unix : uname_state 
IF : Installed architecture is mips
Uname Test :  Installed architecture is mips 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) mips
processor_type is mips unix : uname_state 
IF : Installed architecture is m68k
Uname Test :  Installed architecture is m68k 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type equals m68k
processor_type is m68k unix : uname_state 
IF : Installed architecture is arm
Uname Test :  Installed architecture is arm 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) arm
processor_type is arm unix : uname_state 
IF : Installed architecture is i386
Uname Test :  Installed architecture is i386 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) i686
processor_type is i686 unix : uname_state 
IF : Installed architecture is amd64
Uname Test :  Installed architecture is amd64 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) x86-64
processor_type is x86-64 unix : uname_state 
IF : Installed architecture is sparc
Uname Test :  Installed architecture is sparc 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) sparc
processor_type is sparc unix : uname_state 
IF : Installed architecture is s390
Uname Test :  Installed architecture is s390 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) s390x
processor_type is s390x unix : uname_state 
IF : All of the following are true Release section
Prerequisites (Extended Definitions)
Debian GNU/Linux 4.0 is installed. oval:org.mitre.oval:def:6461
IF : Any one of the following are true Architecture section
IF : All of the following are true Architecture dependent section
IF : Any one of the following are true Packages section
IF : postgresql-pltcl-7.4 is earlier than 7.4.19-0etch1
Linux : Debian DPKG Test :  postgresql-pltcl-7.4 is earlier than 7.4.19-0etch1 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql-pltcl-7.4 package information
postgresql-pltcl-7.4
RPM Version less than 0:7.4.19-0etch1 (datatype=evr_string)
linux : dpkginfo_state 
IF : postgresql-plperl-7.4 is earlier than 7.4.19-0etch1
Linux : Debian DPKG Test :  postgresql-plperl-7.4 is earlier than 7.4.19-0etch1 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql-plperl-7.4 package information
postgresql-plperl-7.4
RPM Version less than 0:7.4.19-0etch1 (datatype=evr_string)
linux : dpkginfo_state 
IF : postgresql-client-7.4 is earlier than 7.4.19-0etch1
Linux : Debian DPKG Test :  postgresql-client-7.4 is earlier than 7.4.19-0etch1 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql-client-7.4 package information
postgresql-client-7.4
RPM Version less than 0:7.4.19-0etch1 (datatype=evr_string)
linux : dpkginfo_state 
IF : postgresql-contrib-7.4 is earlier than 7.4.19-0etch1
Linux : Debian DPKG Test :  postgresql-contrib-7.4 is earlier than 7.4.19-0etch1 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql-contrib-7.4 package information
postgresql-contrib-7.4
RPM Version less than 0:7.4.19-0etch1 (datatype=evr_string)
linux : dpkginfo_state 
IF : postgresql-plpython-7.4 is earlier than 7.4.19-0etch1
Linux : Debian DPKG Test :  postgresql-plpython-7.4 is earlier than 7.4.19-0etch1 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql-plpython-7.4 package information
postgresql-plpython-7.4
RPM Version less than 0:7.4.19-0etch1 (datatype=evr_string)
linux : dpkginfo_state 
IF : postgresql-7.4 is earlier than 7.4.19-0etch1
Linux : Debian DPKG Test :  postgresql-7.4 is earlier than 7.4.19-0etch1 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql-7.4 package information
postgresql-7.4
RPM Version less than 0:7.4.19-0etch1 (datatype=evr_string)
linux : dpkginfo_state 
IF : Any one of the following are true Supported architectures section
IF : Installed architecture is hppa
Uname Test :  Installed architecture is hppa 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) hppa
processor_type is hppa unix : uname_state 
IF : Installed architecture is powerpc
Uname Test :  Installed architecture is powerpc 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) ppc
processor_type is ppc unix : uname_state 
IF : Installed architecture is alpha
Uname Test :  Installed architecture is alpha 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) alpha
processor_type is alpha unix : uname_state 
IF : Installed architecture is ia64
Uname Test :  Installed architecture is ia64 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) ia64
processor_type is ia64 unix : uname_state 
IF : Installed architecture is mips
Uname Test :  Installed architecture is mips 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) mips
processor_type is mips unix : uname_state 
IF : Installed architecture is s390
Uname Test :  Installed architecture is s390 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) s390x
processor_type is s390x unix : uname_state 
IF : Installed architecture is arm
Uname Test :  Installed architecture is arm 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) arm
processor_type is arm unix : uname_state 
IF : Installed architecture is i386
Uname Test :  Installed architecture is i386 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) i686
processor_type is i686 unix : uname_state 
IF : Installed architecture is sparc
Uname Test :  Installed architecture is sparc 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) sparc
processor_type is sparc unix : uname_state 
IF : Installed architecture is amd64
Uname Test :  Installed architecture is amd64 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
processor_type (equals) x86-64
processor_type is x86-64 unix : uname_state 
IF : All of the following are true Architecture independent section
IF : Installed architecture is all
Uname Test :  Installed architecture is all 
At least one of the objects listed below must exist on the system (Existence check)
Unix : uname Object The single uname object.
Output of "uname -a"
IF : Any one of the following are true Packages section
IF : postgresql-server-dev-7.4 is earlier than 7.4.19-0etch1
Linux : Debian DPKG Test :  postgresql-server-dev-7.4 is earlier than 7.4.19-0etch1 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql-server-dev-7.4 package information
postgresql-server-dev-7.4
RPM Version less than 0:7.4.19-0etch1 (datatype=evr_string)
linux : dpkginfo_state 
IF : postgresql-doc-7.4 is earlier than 7.4.19-0etch1
Linux : Debian DPKG Test :  postgresql-doc-7.4 is earlier than 7.4.19-0etch1 
At least one of the objects listed below must exist on the system (Existence check)
Linux : Debian DPKG Package postgresql-doc-7.4 package information
postgresql-doc-7.4
RPM Version less than 0:7.4.19-0etch1 (datatype=evr_string)
linux : dpkginfo_state 

Quick Help

evr_string datatype
Represents epoch, version, and release number as a single version string
Other Help Topics
Data Types
What is an Object?
What is a State?
What is a Test?
Other Help Topics
Regular Expression Patterns
Some object or state definitions are defined as regular expression patterns, you should interpret the regexp pattern while evaluating them.

OVAL Definitions By Referenced Objects

How does it work?   User agreement and privacy statement   About & Contact
CVE is a registred trademark of the MITRE Corporation and the authoritive source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritive source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritive source of OVAL content is MITRE's OVAL web site.
Warning: This site and all data are provided as is. It is not guaranteed that all information is accurate and complete. Use any information provided on this site at your own risk. By using this site you accept that you know that these data are provided as is and not guaranteed to be accurate, correct or complete. All trademarks appearing on this site are the property of their respective owners in the US or other countries. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss. PLEASE SEE nvd.nist.gov and oval.mitre.org for more details about OVAL language and definitions.
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/web site owner/maintainer be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Use of OVAL and all related data is subject to terms of use defined by Mitre at http://oval.mitre.org/oval/about/termsofuse.html