Ubuntu 4.10 : postgresql contributed script vulnerability (USN-6-1)

Low Nessus Plugin ID 20678


The remote Ubuntu host is missing one or more security-related patches.


Recently, Trustix Secure Linux discovered a vulnerability in the postgresql-contrib package. The script 'make_oidjoins_check' created temporary files in an insecure way, which allowed a symlink attack to create or overwrite arbitrary files with the privileges of the user invoking the script.

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected packages.

Plugin Details

Severity: Low

ID: 20678

File Name: ubuntu_USN-6-1.nasl

Version: $Revision: 1.12 $

Type: local

Agent: unix

Published: 2006/01/15

Modified: 2016/05/25

Dependencies: 12634

Risk Information

Risk Factor: Low


Base Score: 2.1

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libecpg-dev, p-cpe:/a:canonical:ubuntu_linux:libecpg4, p-cpe:/a:canonical:ubuntu_linux:libpgtcl, p-cpe:/a:canonical:ubuntu_linux:libpgtcl-dev, p-cpe:/a:canonical:ubuntu_linux:libpq3, p-cpe:/a:canonical:ubuntu_linux:postgresql, p-cpe:/a:canonical:ubuntu_linux:postgresql-client, p-cpe:/a:canonical:ubuntu_linux:postgresql-contrib, p-cpe:/a:canonical:ubuntu_linux:postgresql-dev, p-cpe:/a:canonical:ubuntu_linux:postgresql-doc, cpe:/o:canonical:ubuntu_linux:4.10

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

Patch Publication Date: 2004/10/27

Reference Information

CVE: CVE-2004-0977

USN: 6-1