Debian DSA-1964-1 : postgresql-7.4, postgresql-8.1, postgresql-8.3 - several vulnerabilities

Medium Nessus Plugin ID 44829


The remote Debian host is missing a security-related update.


Several vulnerabilities have been discovered in PostgreSQL, a database server. The Common Vulnerabilities and Exposures project identifies the following problems :

It was discovered that PostgreSQL did not properly verify the Common Name attribute in X.509 certificates, enabling attackers to bypass the (optional) TLS protection on client-server connections, by relying on a certificate from a trusted CA which contains an embedded NUL byte in the Common Name (CVE-2009-4034 ).

Authenticated database users could elevate their privileges by creating specially crafted index functions (CVE-2009-4136 ).

The following matrix shows fixed source package versions for the respective distributions.

oldstable/etch stable/lenny testing/unstable postgresql-7.4 7.4.27-0etch1 postgresql-8.1 8.1.19-0etch1 postgresql-8.3 8.3.9-0lenny1 8.3.9-1 postgresql-8.4 8.4.2-1 In addition to these security fixes, the updates contain reliability improvements and fix other defects.


Upgrade the PostgreSQL packages.

See Also

Plugin Details

Severity: Medium

ID: 44829

File Name: debian_DSA-1964.nasl

Version: 1.12

Type: local

Agent: unix

Published: 2010/02/24

Updated: 2019/08/02

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.5

Temporal Score: 4.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:postgresql-7.4, p-cpe:/a:debian:debian_linux:postgresql-8.1, p-cpe:/a:debian:debian_linux:postgresql-8.3, cpe:/o:debian:debian_linux:4.0, cpe:/o:debian:debian_linux:5.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2009/12/31

Reference Information

CVE: CVE-2009-4034, CVE-2009-4136

BID: 37333, 37334

DSA: 1964

CWE: 310