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.
Advisories
Source ID Title
Debian DSA Debian DSA DSA-1911-1 New pygresql packages provide secure escaping
EUVD EUVD EUVD-2022-5860 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.
Github GHSA Github GHSA GHSA-xv6x-43gq-4hfj PyGreSQL Might Be Vulnerable to Encoding-Based SQL Injection
Ubuntu USN Ubuntu USN USN-870-1 PyGreSQL vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-07T06:07:37.303Z

Reserved: 2009-08-23T00:00:00

Link: CVE-2009-2940

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2009-10-22T16:30:00.250

Modified: 2025-04-09T00:30:58.490

Link: CVE-2009-2940

cve-icon Redhat

Severity : Moderate

Publid Date: 2009-10-14T00:00:00Z

Links: CVE-2009-2940 - Bugzilla

cve-icon OpenCVE Enrichment

No data.