CVEfocus › CVE database › CVE-2006-2314

CVE-2006-2314

EPSS 2.9% (higher than 87% of CVEs)Published 2006-05-24Updated 2024-08-07Assigner: mitre

PostgreSQL 8.1.x before 8.1.4, 8.0.x before 8.0.8, 7.4.x before 7.4.13, 7.3.x before 7.3.15, and earlier versions allows context-dependent attackers to bypass SQL injection protection methods in applications that use multibyte encodings that allow the "\" (backslash) byte 0x5c to be the trailing byte of a multibyte character, such as SJIS, BIG5, GBK, GB18030, and UHC, which cannot be handled correctly by a client that does not understand multibyte encodings, aka a second variant of "Encoding-Based SQL Injection." NOTE: it could be argued that this is a class of issue related to interaction errors between the client and PostgreSQL, but a CVE has been assigned since PostgreSQL is treating this as a preventative measure against this class of problem.

What to do

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14pygresqlFixed3.8-1.1DEBIAN-CVE-2006-2314
Debian 13pygresqlFixed3.8-1.1DEBIAN-CVE-2006-2314
Debian 12pygresqlFixed3.8-1.1DEBIAN-CVE-2006-2314
Red Hat Enterprise Linux 4postgresqlFixed0:7.4.13-2.RHEL4.1RHSA-2006:0526
Red Hat Enterprise Linux 4postgresql-contribFixed0:7.4.13-2.RHEL4.1RHSA-2006:0526
Red Hat Enterprise Linux 4postgresql-develFixed0:7.4.13-2.RHEL4.1RHSA-2006:0526
Red Hat Enterprise Linux 4postgresql-docsFixed0:7.4.13-2.RHEL4.1RHSA-2006:0526
Red Hat Enterprise Linux 4postgresql-jdbcFixed0:7.4.13-2.RHEL4.1RHSA-2006:0526
Red Hat Enterprise Linux 4postgresql-libsFixed0:7.4.13-2.RHEL4.1RHSA-2006:0526
Red Hat Enterprise Linux 4postgresql-plFixed0:7.4.13-2.RHEL4.1RHSA-2006:0526
Red Hat Enterprise Linux 4postgresql-pythonFixed0:7.4.13-2.RHEL4.1RHSA-2006:0526
Red Hat Enterprise Linux 4postgresql-serverFixed0:7.4.13-2.RHEL4.1RHSA-2006:0526
Red Hat Enterprise Linux 4postgresql-tclFixed0:7.4.13-2.RHEL4.1RHSA-2006:0526
Red Hat Enterprise Linux 4postgresql-testFixed0:7.4.13-2.RHEL4.1RHSA-2006:0526
Red Hat Enterprise Linux 3rh-postgresqlFixed0:7.3.15-2RHSA-2006:0526
Red Hat Enterprise Linux 3rh-postgresql-contribFixed0:7.3.15-2RHSA-2006:0526
Red Hat Enterprise Linux 3rh-postgresql-develFixed0:7.3.15-2RHSA-2006:0526
Red Hat Enterprise Linux 3rh-postgresql-docsFixed0:7.3.15-2RHSA-2006:0526
Red Hat Enterprise Linux 3rh-postgresql-jdbcFixed0:7.3.15-2RHSA-2006:0526
Red Hat Enterprise Linux 3rh-postgresql-libsFixed0:7.3.15-2RHSA-2006:0526
Red Hat Enterprise Linux 3rh-postgresql-plFixed0:7.3.15-2RHSA-2006:0526
Red Hat Enterprise Linux 3rh-postgresql-pythonFixed0:7.3.15-2RHSA-2006:0526
Red Hat Enterprise Linux 3rh-postgresql-serverFixed0:7.3.15-2RHSA-2006:0526
Red Hat Enterprise Linux 3rh-postgresql-tclFixed0:7.3.15-2RHSA-2006:0526
Red Hat Enterprise Linux 3rh-postgresql-testFixed0:7.3.15-2RHSA-2006:0526

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.