postgresql-8.0 8.0.3-15ubuntu2.2 source package in Ubuntu

Changelog

postgresql-8.0 (8.0.3-15ubuntu2.2) breezy-security; urgency=low

  * SECURITY UPDATE: Remote SQL injection.
  * Add debian/patches/82-cvs-reject-invalid-encoding.patch:
    - Change the backend to reject strings containing invalidly-encoded
      multibyte characters in all cases.  Formerly we mostly just threw warnings
      for invalid input, and failed to detect it at all if no encoding
      conversion was required.  The tighter check is needed to defend
      against SQL-injection attacks.
    - Also, fix a few longstanding errors in little-used encoding conversion
      routines: win1251_to_iso, win866_to_iso, euc_tw_to_big5, euc_tw_to_mic,
      mic_to_euc_tw were all broken to varying extents.
    - Patch backported from 8.0.8.
    - CVE-2006-2313
  * Add debian/patches/83-cvs-backslash_quote-guc.patch:
    - Add a new GUC parameter backslash_quote, which determines whether the
      SQL parser will allow "\'" to be used to represent a literal quote mark.
      The "\'" representation has been deprecated for some time in favor of the
      SQL-standard representation "''" (two single quote marks), but it has been
      used often enough that just disallowing it immediately won't do.  Hence
      backslash_quote allows the settings "on", "off", and "safe_encoding", the
      last meaning to allow "\'" only if client_encoding is a valid server
      encoding.  That is now the default, and the reason is that in encodings
      such as SJIS that allow 0x5c (ASCII backslash) to be the last byte of a
      multibyte character, accepting "\'" allows SQL-injection attacks.
    - The "on" setting is available for backward compatibility, but it must
      not be used with clients that are exposed to untrusted input.
    - Patch backported from 8.0.8.
    - CVE-2006-2314
  * Add debian/patches/84-cvs-quote-escaping.patch:
    - Change escaping from \' to '' throughout the code (in client programs
      and contrib modules).
    - Patch backported from 8.0.8.
  * Add debian/patches/85-cvs-libpq-string-escaping.patch:
    - Modify libpq's string-escaping routines to be aware of encoding
      considerations and standard_conforming_strings.  The encoding changes are
      needed for proper escaping in multibyte encodings, as per the
      SQL-injection vulnerabilities noted in CVE-2006-2313 and CVE-2006-2314.
    - Since the existing API of PQescapeString and PQescapeBytea provides no
      way to inform them which settings are in use, these functions are now
      deprecated in favor of new functions PQescapeStringConn and
      PQescapeByteaConn.  The new functions take the PGconn to which the string
      will be sent as an additional parameter, and look inside the connection
      structure to determine what to do.  So as to provide some functionality
      for clients using the old functions, libpq stores the latest encoding and
      standard_conforming_strings values received from the backend in
      static variables, and the old functions consult these variables.
      This will work reliably in clients using only one Postgres
      connection at a time, or even multiple connections if they all use
      the same encoding and string syntax settings; which should cover
      many practical scenarios.
    - Clients that use homebrew escaping methods, such as PHP's addslashes()
      function or even hardwired regexp substitution, will require extra effort
      to fix :-(.  It is strongly recommended that such code be replaced by use
      of PQescapeStringConn/PQescapeByteaConn if at all feasible.
  * Add debian/patches/86-cvs-indexscan-duplicate-tuples.patch:
    - Fix nasty bug in nodeIndexscan.c's detection of duplicate tuples during
      a multiple (OR'ed) indexscan.  It was checking for duplicate
      tuple->t_data->t_ctid, when what it should be checking is tuple->t_self.
    - Patch backported from 8.0.8 release.

 -- Martin Pitt <email address hidden>   Wed, 24 May 2006 17:02:38 +0200

Upload details

Uploaded by:
Martin Pitt
Uploaded to:
Breezy
Original maintainer:
Martin Pitt
Architectures:
any
Section:
misc
Urgency:
Low Urgency

See full publishing history Publishing

Series Pocket Published Component Section

Downloads

File Size SHA-256 Checksum
postgresql-8.0_8.0.3.orig.tar.gz 10.3 MiB eb8d8d563ac559e368cb221bdf8676e15db662cde797a5eef446f4282a2a9c5e
postgresql-8.0_8.0.3-15ubuntu2.2.diff.gz 55.3 KiB 42bc2d6e55dff400b5d0195363c21712907e6ed3efa29064db807af9a8323659
postgresql-8.0_8.0.3-15ubuntu2.2.dsc 1.1 KiB 0b57b29d11b372620b47f0e790651004cec2b416141d88880ef4947ae818ff2e

View changes file

Binary packages built by this source

libecpg-compat2: No summary available for libecpg-compat2 in ubuntu breezy.

No description available for libecpg-compat2 in ubuntu breezy.

libecpg-dev: No summary available for libecpg-dev in ubuntu breezy.

No description available for libecpg-dev in ubuntu breezy.

libecpg5: No summary available for libecpg5 in ubuntu breezy.

No description available for libecpg5 in ubuntu breezy.

libpgtypes2: No summary available for libpgtypes2 in ubuntu breezy.

No description available for libpgtypes2 in ubuntu breezy.

libpq-dev: No summary available for libpq-dev in ubuntu breezy.

No description available for libpq-dev in ubuntu breezy.

libpq4: No summary available for libpq4 in ubuntu breezy.

No description available for libpq4 in ubuntu breezy.

postgresql-8.0: No summary available for postgresql-8.0 in ubuntu breezy.

No description available for postgresql-8.0 in ubuntu breezy.

postgresql-client-8.0: No summary available for postgresql-client-8.0 in ubuntu breezy.

No description available for postgresql-client-8.0 in ubuntu breezy.

postgresql-contrib-8.0: No summary available for postgresql-contrib-8.0 in ubuntu breezy.

No description available for postgresql-contrib-8.0 in ubuntu breezy.

postgresql-doc-8.0: No summary available for postgresql-doc-8.0 in ubuntu breezy.

No description available for postgresql-doc-8.0 in ubuntu breezy.

postgresql-plperl-8.0: No summary available for postgresql-plperl-8.0 in ubuntu breezy.

No description available for postgresql-plperl-8.0 in ubuntu breezy.

postgresql-plpython-8.0: No summary available for postgresql-plpython-8.0 in ubuntu breezy.

No description available for postgresql-plpython-8.0 in ubuntu breezy.

postgresql-pltcl-8.0: No summary available for postgresql-pltcl-8.0 in ubuntu breezy.

No description available for postgresql-pltcl-8.0 in ubuntu breezy.

postgresql-server-dev-8.0: No summary available for postgresql-server-dev-8.0 in ubuntu breezy.

No description available for postgresql-server-dev-8.0 in ubuntu breezy.