PyGreSQL: Missing a function to call PQescapeStringConn()
Published Oct 22, 2009
5.4
MEDIUMCVSS 3.0
EPSS 2.70%
Description
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 6
PyGreSQL
Will not fix
Red Hat Enterprise Linux 7
PyGreSQL
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | PyGreSQL | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | PyGreSQL | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.70% (0.02702) | 85.42th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.70% (0.02702) | 83.94th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.73% (0.00734) | 70.46th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.28% (0.02284) | 74.44th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.73% (0.00734) | 71.08th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.06% (0.01060) | 84.78th | v3 (v2023.03.01) |
| Apr 10, 2024 | 1.06% (0.01060) | 83.88th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.06% (0.01060) | 81.86th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.21% (0.01213) | 66.61th | v2 (v2022.01.01) |
| Feb 17, 2023 | 1.21% (0.01213) | 66.22th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.21% (0.01213) | 64.21th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.21% (0.01213) | 40.54th | v2 (v2022.01.01) |
References (13)
- http://secunia.com/advisories/37046 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/37654 third-party-advisoryx_refsource_SECUNIA
- http://ubuntu.com/usn/usn-870-1 vendor-advisoryx_refsource_UBUNTU
- http://www.debian.org/security/2009/dsa-1911 vendor-advisoryx_refsource_DEBIAN
- http://www.osvdb.org/59028 vdb-entryx_refsource_OSVDB
- https://access.redhat.com/security/cve/CVE-2009-2940 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1516701 Issue Tracking
- https://github.com/PyGreSQL/PyGreSQL/commit/8e19320b130946eed6f043297e3e4e005a523612
- https://github.com/PyGreSQL/PyGreSQL/commit/f7237d773e6f4d5a7da3d99bb6bc5062bd07935e
- https://github.com/advisories/GHSA-xv6x-43gq-4hfj Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pygresql/PYSEC-2009-18.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2009-2940
- https://www.cve.org/CVERecord?id=CVE-2009-2940
| Link | Providers | Tags |
|---|---|---|
| http://secunia.com/advisories/37046 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://secunia.com/advisories/37654 | third-party-advisoryx_refsource_SECUNIA | |
| http://ubuntu.com/usn/usn-870-1 | vendor-advisoryx_refsource_UBUNTU | |
| http://www.debian.org/security/2009/dsa-1911 | vendor-advisoryx_refsource_DEBIAN | |
| http://www.osvdb.org/59028 | vdb-entryx_refsource_OSVDB | |
| https://access.redhat.com/security/cve/CVE-2009-2940 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1516701 | Issue Tracking | |
| https://github.com/PyGreSQL/PyGreSQL/commit/8e19320b130946eed6f043297e3e4e005a523612 | ||
| https://github.com/PyGreSQL/PyGreSQL/commit/f7237d773e6f4d5a7da3d99bb6bc5062bd07935e | ||
| https://github.com/advisories/GHSA-xv6x-43gq-4hfj | Advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/pygresql/PYSEC-2009-18.yaml | ||
| https://nvd.nist.gov/vuln/detail/CVE-2009-2940 | ||
| https://www.cve.org/CVERecord?id=CVE-2009-2940 |
Change history (0)
No recorded changes yet.