Debian DSA-1909-1 : postgresql-ocaml - missing escape function

high Nessus Plugin ID 44774

Language:

Synopsis

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

Description

It was discovered that postgresql-ocaml, OCaml bindings to PostgreSQL's libpq, was missing a function to call PQescapeStringConn(). This is needed, because PQescapeStringConn() honours the charset of the connection and prevents insufficient escaping, when certain multibyte character encodings are used. The added function is called escape_string_conn() and takes the established database connection as a first argument. The old escape_string() was kept for backwards compatibility.

Developers using these bindings are encouraged to adjust their code to use the new function.

Solution

Upgrade the postgresql-ocaml packages.

For the oldstable distribution (etch), this problem has been fixed in version 1.5.4-2+etch1.

For the stable distribution (lenny), this problem has been fixed in version 1.7.0-3+lenny1.

See Also

https://www.debian.org/security/2009/dsa-1909

Plugin Details

Severity: High

ID: 44774

File Name: debian_DSA-1909.nasl

Version: 1.10

Type: local

Agent: unix

Published: 2/24/2010

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

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:debian:debian_linux:postgresql-ocaml, 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

Patch Publication Date: 10/14/2009

Reference Information

CVE: CVE-2009-2943

DSA: 1909