Bug 1516701 (CVE-2009-2940) - CVE-2009-2940 PyGreSQL: Missing a function to call PQescapeStringConn()
Summary: CVE-2009-2940 PyGreSQL: Missing a function to call PQescapeStringConn()
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2009-2940
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1516705
TreeView+ depends on / blocked
 
Reported: 2017-11-23 10:01 UTC by Andrej Nemec
Modified: 2021-02-17 01:12 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-11-29 09:57:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2017-11-23 10:01:20 UTC
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/

Comment 1 Stefan Cornelius 2017-11-29 09:57:39 UTC
Patch used by Ubuntu:
http://launchpadlibrarian.net/36673418/pygresql_1%3A3.8.1-3_1%3A3.8.1-3ubuntu0.1.diff.gz

Comment 2 Stefan Cornelius 2017-11-29 09:57:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.