The pygresql module 3.8.1 and 4.0 for Python does not properly support the PQescapeStringConn function, which might allow remote attackers to leverage escaping issues involving multibyte character encodings. References: https://snyk.io/vuln/SNYK-PYTHON-PYGRESQL-42032 https://www.debian.org/security/2009/dsa-1911 https://usn.ubuntu.com/usn/usn-870-1/
Patch used by Ubuntu: http://launchpadlibrarian.net/36673418/pygresql_1%3A3.8.1-3_1%3A3.8.1-3ubuntu0.1.diff.gz
Statement: Red Hat Enterprise Linux 6 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/. This issue did not affect the versions of PyGreSQL as shipped with Red Hat Enterprise Linux 7.