CVE-2009-2940: pygresql - SQL Injection
- Cve: CVE-2009-2940
- Name: pygresql - SQL Injection
- 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.
- Impact: Remote attackers can potentially execute injection attacks or manipulate database queries through escaping issues.
- Remediation: Update to the latest version of pygresql that properly supports PQescapeStringConn.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
- Epss score: 0.02702
- Epss percentile: 0.86313
- Assignee: [email protected]
- Published at: 2009-10-22T16:30:00Z
- Age in days: 6242
- Modified at: 2026-06-16T23:10:32Z
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2009-2940
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://secunia.com/advisories/37046 | Vendor Advisory |
| http://secunia.com/advisories/37654 | |
| http://ubuntu.com/usn/usn-870-1 | |
| http://www.debian.org/security/2009/dsa-1911 | |
| http://www.osvdb.org/59028 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pygresql:pygresql | = 4.0, = 3.8.1 | yes | nvd | /v1/products/pygresql/pygresql |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| PyGreSQL/PyGreSQL | commit, package | yes | /v1/repositories/PyGreSQL/PyGreSQL |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts