p PatchFirst

CVE-2009-2940

CVE-2009-2940

EPSS 2.7% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="pygresql"'
pip show pygresql

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • DSA-1911-1 · Debian 4.0, Debian 5.0 ·

Stack: system · python

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • pygresql Debian 12

    Affected ranges
    • ECOSYSTEM: < 1:4.0-1

    Update to 1:4.0-1

  • pygresql Debian 13

    Affected ranges
    • ECOSYSTEM: < 1:4.0-1

    Update to 1:4.0-1

  • pygresql Debian 14

    Affected ranges
    • ECOSYSTEM: < 1:4.0-1

    Update to 1:4.0-1

  • pygresql PyPI

    Versions
    • 3.8.1
    Affected ranges
    • ECOSYSTEM: ≤ 3.8.1

    No fix published

  • pygresql PyPI

    Versions
    • 4.0
    Affected ranges
    • ECOSYSTEM: ≥ 4.0, < 4.1

    Update to 4.1

  • pygresql PyPI

    Versions
    • 3.8.1
    • 4.0
    Affected ranges
    • ECOSYSTEM: ≥ 3.8.1, ≤ 4.0

    No fix published

Original sources

Check your server →