Skip to content
OpenAdvisories
Unscored CVE-2006-2314 EUVD-2006-2315GHSA-f4wq-jrxj-pf8j

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 …

Published May 24, 2006 · Updated Aug 7, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pygresql 3.8-1.1 —
Debian 13 pygresql 3.8-1.1 —
Debian 12 pygresql 3.8-1.1 —
Debian 3.1 postgresql 7.4.7-6sarge2 DSA-1087-1
ReleasePackageFixed inAdvisory
RHEL 4 postgresql +10 7.4.13-2.RHEL4.1 RHSA-2006:0526
RHEL 3 rh-postgresql +10 7.3.15-2 RHSA-2006:0526

Advisories 2

References