Summary
The remote host is missing an update to pygresql
announced via advisory DSA 1911-1.
Solution
https://secure1.securityspace.com/smysecure/catid.html?in=DSA%201911-1
Insight
It was discovered that pygresql, a PostgreSQL module for Python, 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 new function is called pg_escape_string(), which takes the database connection as a first argument. The old function escape_string() has been preserved as well for backwards compatibility.
Developers using these bindings are encouraged to adjust their code to use the new function.
For the stable distribution (lenny), this problem has been fixed in version 1:3.8.1-3+lenny1.
For the oldstable distribution (etch), this problem has been fixed in version 1:3.8.1-1etch2.
For the testing distribution (squeeze) and the unstable distribution (sid), this problem has been fixed in version 1:4.0-1.
We recommend that you upgrade your pygresql packages.
Severity
Classification
-
CVE CVE-2009-2940 -
CVSS Base Score: 7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
Related Vulnerabilities