GLSA-200607-04 : PostgreSQL: SQL injection

High Nessus Plugin ID 22011


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


The remote host is affected by the vulnerability described in GLSA-200607-04 (PostgreSQL: SQL injection)

PostgreSQL contains a flaw in the string parsing routines that allows certain backslash-escaped characters to be bypassed with some multibyte character encodings. This vulnerability was discovered by Akio Ishida and Yasuo Ohgaki.
Impact :

An attacker could execute arbitrary SQL statements on the PostgreSQL server. Be aware that web applications using PostgreSQL as a database back-end might be used to exploit this vulnerability.
Workaround :

There is no known workaround at this time.


All PostgreSQL users should upgrade to the latest version in the respective branch they are using:
# emerge --sync # emerge --ask --oneshot --verbose dev-db/postgresql Note: While a fix exists for the 7.3 branch it doesn't currently work on Gentoo. All 7.3.x users of PostgreSQL should consider updating their installations to the 7.4 (or higher) branch as soon as possible!

See Also

Plugin Details

Severity: High

ID: 22011

File Name: gentoo_GLSA-200607-04.nasl

Version: $Revision: 1.12 $

Type: local

Published: 2006/07/10

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:postgresql, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2006/07/09

Vulnerability Publication Date: 2006/05/22

Reference Information

CVE: CVE-2006-2313, CVE-2006-2314

OSVDB: 25730, 25731

GLSA: 200607-04