Vulnerability Name:

CVE-2009-2940 (CCN-53951)

Assigned:2009-10-14
Published:2009-10-14
Updated:2009-12-19
Summary: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.
CVSS v3 Severity:5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
5.5 Medium (Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
3.7 Low (CCN Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-Other
Vulnerability Consequences:Other
References:Source: MITRE
Type: CNA
CVE-2009-2940

Source: CCN
Type: SA37046
Debian update for pygresql

Source: SECUNIA
Type: Vendor Advisory
37046

Source: SECUNIA
Type: UNKNOWN
37654

Source: UBUNTU
Type: UNKNOWN
USN-870-1

Source: DEBIAN
Type: UNKNOWN
DSA-1911

Source: DEBIAN
Type: DSA-1911-1
pygresql -- missing escape function

Source: DEBIAN
Type: DSA-1911
pygresql -- missing escape function

Source: OSVDB
Type: UNKNOWN
59028

Source: CCN
Type: OSVDB ID: 59028
pygresql for Python PQescapeStringConn() Function Character Escaping Weakness

Source: CCN
Type: Python Web site
Python Programming Language

Source: CCN
Type: USN-870-1
PyGreSQL vulnerability

Source: XF
Type: UNKNOWN
pygresql-pqescapestringconn-weak-security(53951)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:pygresql:pygresql:3.8.1:*:*:*:*:*:*:*
  • OR cpe:/a:pygresql:pygresql:4.0:*:*:*:*:*:*:*
  • AND
  • cpe:/a:python:python:*:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:pygresql:pygresql:3.8.1:*:*:*:*:*:*:*
  • OR cpe:/a:pygresql:pygresql:4.0:*:*:*:*:*:*:*
  • AND
  • cpe:/o:debian:debian_linux:4.0:*:*:*:*:*:*:*
  • OR cpe:/o:canonical:ubuntu:8.04::lts:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:5.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.mitre.oval:def:13905
    P
    USN-870-1 -- pygresql vulnerability
    2014-06-30
    oval:org.mitre.oval:def:8161
    P
    DSA-1911 pygresql -- missing escape function
    2014-06-23
    oval:org.mitre.oval:def:13289
    P
    DSA-1911-1 pygresql -- missing escape function
    2014-06-23
    oval:org.debian:def:1911
    V
    missing escape function
    2009-10-14
    BACK
    pygresql pygresql 3.8.1
    pygresql pygresql 4.0
    python python *
    pygresql pygresql 3.8.1
    pygresql pygresql 4.0
    debian debian linux 4.0
    canonical ubuntu 8.04
    debian debian linux 5.0