[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248149

 
 

909

 
 

194803

 
 

282

Paid content will be excluded from the download.


Download | Alert*
OVAL

DSA-1911 pygresql -- missing escape function

ID: oval:org.mitre.oval:def:8161Date: (C)2009-12-15   (M)2021-07-09
Class: PATCHFamily: unix




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.

Platform:
Debian 5.0
Debian 4.0
Product:
pygresql
Reference:
DSA-1911
CVE-2009-2940
CVE    1
CVE-2009-2940
CPE    2
cpe:/o:debian:debian_linux:4.x
cpe:/o:debian:debian_linux:5.x

© SecPod Technologies