New security/bug fix releases: 8.4.7, 8.3.14

Bug #711318 reported by Martin Pitt
260
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postgresql-8.1 (Ubuntu)
Invalid
Undecided
Unassigned
Dapper
Fix Released
Medium
Steve Beattie
Hardy
Invalid
Undecided
Unassigned
Karmic
Invalid
Undecided
Unassigned
Lucid
Invalid
Undecided
Unassigned
Maverick
Invalid
Undecided
Unassigned
Natty
Invalid
Undecided
Unassigned
postgresql-8.3 (Ubuntu)
Invalid
Undecided
Unassigned
Dapper
Invalid
Undecided
Unassigned
Hardy
Fix Released
Medium
Steve Beattie
Karmic
Invalid
Undecided
Unassigned
Lucid
Invalid
Undecided
Unassigned
Maverick
Invalid
Undecided
Unassigned
Natty
Invalid
Undecided
Unassigned
postgresql-8.4 (Ubuntu)
Fix Released
Undecided
Martin Pitt
Dapper
Invalid
Undecided
Unassigned
Hardy
Invalid
Undecided
Unassigned
Karmic
Fix Released
Undecided
Steve Beattie
Lucid
Fix Released
Undecided
Steve Beattie
Maverick
Fix Released
Undecided
Steve Beattie
Natty
Fix Released
Undecided
Martin Pitt

Bug Description

Binary package hint: postgresql-8.1

PostgreSQL just announced new microreleases which fix one security issue and several bugs. Details at

  http://www.postgresql.org/about/news.1289

As 8.1.x went out of support, I'll backport the security fix to 8.1:

  http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=7ccb6dc2d3e266a551827bb99179708580f72431

Martin Pitt (pitti)
visibility: private → public
Changed in postgresql-8.1 (Ubuntu Karmic):
status: New → Invalid
Changed in postgresql-8.1 (Ubuntu Lucid):
status: New → Invalid
Changed in postgresql-8.1 (Ubuntu Maverick):
status: New → Invalid
Martin Pitt (pitti)
Changed in postgresql-8.1 (Ubuntu Natty):
status: New → Invalid
Changed in postgresql-8.3 (Ubuntu Karmic):
status: New → Invalid
Martin Pitt (pitti)
Changed in postgresql-8.3 (Ubuntu Lucid):
status: New → Invalid
Changed in postgresql-8.3 (Ubuntu Maverick):
status: New → Invalid
Changed in postgresql-8.3 (Ubuntu Natty):
status: New → Invalid
Changed in postgresql-8.1 (Ubuntu Dapper):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
status: New → In Progress
Changed in postgresql-8.3 (Ubuntu Dapper):
status: New → Invalid
Changed in postgresql-8.1 (Ubuntu Hardy):
status: New → Invalid
Changed in postgresql-8.3 (Ubuntu Hardy):
importance: Undecided → Medium
status: New → In Progress
Changed in postgresql-8.4 (Ubuntu Dapper):
status: New → Invalid
Changed in postgresql-8.4 (Ubuntu Hardy):
status: New → Invalid
Revision history for this message
Martin Pitt (pitti) wrote :

Will sync the natty update from sid after alpha-2 release.

Changed in postgresql-8.4 (Ubuntu Natty):
assignee: nobody → Martin Pitt (pitti)
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

The 8.4 updates are ready now:

http://people.canonical.com/~pitti/packages/psql/maverick/
http://people.canonical.com/~pitti/packages/psql/lucid/
http://people.canonical.com/~pitti/packages/psql/karmic/

I did local builds/tests, but I'd appreciate if we could build them in security-proposed, and run the postgresql-common test suite on those before releasing?

Changed in postgresql-8.4 (Ubuntu Maverick):
status: New → In Progress
Changed in postgresql-8.4 (Ubuntu Lucid):
status: New → In Progress
Changed in postgresql-8.4 (Ubuntu Karmic):
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :
Changed in postgresql-8.1 (Ubuntu Dapper):
assignee: Martin Pitt (pitti) → nobody
Revision history for this message
Steve Beattie (sbeattie) wrote :

Martin, thanks for preparing these. I've uploaded them to the security-proposed ppa https://launchpad.net/~ubuntu-security-proposed/+archive/ppa where they're currently building. I'll test these once they've built.

Changed in postgresql-8.4 (Ubuntu Maverick):
assignee: nobody → Steve Beattie (sbeattie)
Changed in postgresql-8.4 (Ubuntu Lucid):
assignee: nobody → Steve Beattie (sbeattie)
Changed in postgresql-8.4 (Ubuntu Karmic):
assignee: nobody → Steve Beattie (sbeattie)
Changed in postgresql-8.3 (Ubuntu Hardy):
assignee: nobody → Steve Beattie (sbeattie)
Changed in postgresql-8.1 (Ubuntu Dapper):
assignee: nobody → Steve Beattie (sbeattie)
Revision history for this message
Martin Pitt (pitti) wrote :

8.4.7-1 synced into Natty.

Changed in postgresql-8.4 (Ubuntu Natty):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package postgresql-8.1 - 8.1.23-0ubuntu0.6.06.1

---------------
postgresql-8.1 (8.1.23-0ubuntu0.6.06.1) dapper-security; urgency=low

  * Add 14-intarray_query_int_buffer_overrun.patch:
    - Fix buffer overrun in "contrib/intarray"'s input function for the
      query_int type. This bug is a security risk since the function's return
      address could be overwritten. Patch backported from 8.2 (commit
      e11349fdb). (CVE-2010-4015) (LP: #711318)
 -- Martin Pitt <email address hidden> Tue, 01 Feb 2011 23:24:29 +0100

Changed in postgresql-8.1 (Ubuntu Dapper):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package postgresql-8.3 - 8.3.14-0ubuntu8.04

---------------
postgresql-8.3 (8.3.14-0ubuntu8.04) hardy-security; urgency=low

  * New upstream security/bug fix release: (LP: #711318)
    - Fix buffer overrun in "contrib/intarray"'s input function for the
      query_int type.
      This bug is a security risk since the function's return address
      could be overwritten. Thanks to Apple Inc's security team for
      reporting this issue and supplying the fix. (CVE-2010-4015)
    - Avoid failures when "EXPLAIN" tries to display a simple-form CASE
      expression.
      If the CASE's test expression was a constant, the planner could
      simplify the CASE into a form that confused the expression-display
      code, resulting in "unexpected CASE WHEN clause" errors.
    - Fix assignment to an array slice that is before the existing range
      of subscripts.
      If there was a gap between the newly added subscripts and the first
      pre-existing subscript, the code miscalculated how many entries
      needed to be copied from the old array's null bitmap, potentially
      leading to data corruption or crash.
    - Avoid unexpected conversion overflow in planner for very distant
      date values.
      The date type supports a wider range of dates than can be
      represented by the timestamp types, but the planner assumed it
      could always convert a date to timestamp with impunity.
    - Fix pg_restore's text output for large objects (BLOBs) when
      standard_conforming_strings is on.
      Although restoring directly to a database worked correctly, string
      escaping was incorrect if pg_restore was asked for SQL text output
      and standard_conforming_strings had been enabled in the source
      database.
    - Fix erroneous parsing of tsquery values containing ... &
      !(subexpression) | ... .
      Queries containing this combination of operators were not executed
      correctly. The same error existed in "contrib/intarray"'s query_int
      type and "contrib/ltree"'s ltxtquery type.
    - Fix bug in "contrib/seg"'s GiST picksplit algorithm.
      This could result in considerable inefficiency, though not actually
      incorrect answers, in a GiST index on a seg column. If you have
      such an index, consider "REINDEX"ing it after installing this
      update. (This is identical to the bug that was fixed in
      "contrib/cube" in the previous update.)
 -- Martin Pitt <email address hidden> Tue, 01 Feb 2011 23:13:46 +0100

Changed in postgresql-8.3 (Ubuntu Hardy):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package postgresql-8.4 - 8.4.7-0ubuntu0.10.04

---------------
postgresql-8.4 (8.4.7-0ubuntu0.10.04) lucid-security; urgency=low

  * New upstream security/bug fix release: (LP: #711318)
    - Fix buffer overrun in "contrib/intarray"'s input function for the
      query_int type.
      This bug is a security risk since the function's return address
      could be overwritten. Thanks to Apple Inc's security team for
      reporting this issue and supplying the fix. (CVE-2010-4015)
    - Avoid failures when "EXPLAIN" tries to display a simple-form CASE
      expression.
      If the CASE's test expression was a constant, the planner could
      simplify the CASE into a form that confused the expression-display
      code, resulting in "unexpected CASE WHEN clause" errors.
    - Fix assignment to an array slice that is before the existing range
      of subscripts.
      If there was a gap between the newly added subscripts and the first
      pre-existing subscript, the code miscalculated how many entries
      needed to be copied from the old array's null bitmap, potentially
      leading to data corruption or crash.
    - Avoid unexpected conversion overflow in planner for very distant
      date values.
      The date type supports a wider range of dates than can be
      represented by the timestamp types, but the planner assumed it
      could always convert a date to timestamp with impunity.
    - Fix pg_restore's text output for large objects (BLOBs) when
      standard_conforming_strings is on.
      Although restoring directly to a database worked correctly, string
      escaping was incorrect if pg_restore was asked for SQL text output
      and standard_conforming_strings had been enabled in the source
      database.
    - Fix erroneous parsing of tsquery values containing ... &
      !(subexpression) | ... .
      Queries containing this combination of operators were not executed
      correctly. The same error existed in "contrib/intarray"'s query_int
      type and "contrib/ltree"'s ltxtquery type.
    - Fix bug in "contrib/seg"'s GiST picksplit algorithm.
      This could result in considerable inefficiency, though not actually
      incorrect answers, in a GiST index on a seg column. If you have
      such an index, consider "REINDEX"ing it after installing this
      update. (This is identical to the bug that was fixed in
      "contrib/cube" in the previous update.)
 -- Martin Pitt <email address hidden> Tue, 01 Feb 2011 22:20:34 +0100

Changed in postgresql-8.4 (Ubuntu Lucid):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package postgresql-8.4 - 8.4.7-0ubuntu0.10.10

---------------
postgresql-8.4 (8.4.7-0ubuntu0.10.10) maverick-security; urgency=low

  * New upstream security/bug fix release: (LP: #711318)
    - Fix buffer overrun in "contrib/intarray"'s input function for the
      query_int type.
      This bug is a security risk since the function's return address
      could be overwritten. Thanks to Apple Inc's security team for
      reporting this issue and supplying the fix. (CVE-2010-4015)
    - Avoid failures when "EXPLAIN" tries to display a simple-form CASE
      expression.
      If the CASE's test expression was a constant, the planner could
      simplify the CASE into a form that confused the expression-display
      code, resulting in "unexpected CASE WHEN clause" errors.
    - Fix assignment to an array slice that is before the existing range
      of subscripts.
      If there was a gap between the newly added subscripts and the first
      pre-existing subscript, the code miscalculated how many entries
      needed to be copied from the old array's null bitmap, potentially
      leading to data corruption or crash.
    - Avoid unexpected conversion overflow in planner for very distant
      date values.
      The date type supports a wider range of dates than can be
      represented by the timestamp types, but the planner assumed it
      could always convert a date to timestamp with impunity.
    - Fix pg_restore's text output for large objects (BLOBs) when
      standard_conforming_strings is on.
      Although restoring directly to a database worked correctly, string
      escaping was incorrect if pg_restore was asked for SQL text output
      and standard_conforming_strings had been enabled in the source
      database.
    - Fix erroneous parsing of tsquery values containing ... &
      !(subexpression) | ... .
      Queries containing this combination of operators were not executed
      correctly. The same error existed in "contrib/intarray"'s query_int
      type and "contrib/ltree"'s ltxtquery type.
    - Fix bug in "contrib/seg"'s GiST picksplit algorithm.
      This could result in considerable inefficiency, though not actually
      incorrect answers, in a GiST index on a seg column. If you have
      such an index, consider "REINDEX"ing it after installing this
      update. (This is identical to the bug that was fixed in
      "contrib/cube" in the previous update.)
 -- Martin Pitt <email address hidden> Tue, 01 Feb 2011 21:59:15 +0100

Changed in postgresql-8.4 (Ubuntu Maverick):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package postgresql-8.4 - 8.4.7-0ubuntu0.9.10

---------------
postgresql-8.4 (8.4.7-0ubuntu0.9.10) karmic-security; urgency=low

  * New upstream security/bug fix release: (LP: #711318)
    - Fix buffer overrun in "contrib/intarray"'s input function for the
      query_int type.
      This bug is a security risk since the function's return address
      could be overwritten. Thanks to Apple Inc's security team for
      reporting this issue and supplying the fix. (CVE-2010-4015)
    - Avoid failures when "EXPLAIN" tries to display a simple-form CASE
      expression.
      If the CASE's test expression was a constant, the planner could
      simplify the CASE into a form that confused the expression-display
      code, resulting in "unexpected CASE WHEN clause" errors.
    - Fix assignment to an array slice that is before the existing range
      of subscripts.
      If there was a gap between the newly added subscripts and the first
      pre-existing subscript, the code miscalculated how many entries
      needed to be copied from the old array's null bitmap, potentially
      leading to data corruption or crash.
    - Avoid unexpected conversion overflow in planner for very distant
      date values.
      The date type supports a wider range of dates than can be
      represented by the timestamp types, but the planner assumed it
      could always convert a date to timestamp with impunity.
    - Fix pg_restore's text output for large objects (BLOBs) when
      standard_conforming_strings is on.
      Although restoring directly to a database worked correctly, string
      escaping was incorrect if pg_restore was asked for SQL text output
      and standard_conforming_strings had been enabled in the source
      database.
    - Fix erroneous parsing of tsquery values containing ... &
      !(subexpression) | ... .
      Queries containing this combination of operators were not executed
      correctly. The same error existed in "contrib/intarray"'s query_int
      type and "contrib/ltree"'s ltxtquery type.
    - Fix bug in "contrib/seg"'s GiST picksplit algorithm.
      This could result in considerable inefficiency, though not actually
      incorrect answers, in a GiST index on a seg column. If you have
      such an index, consider "REINDEX"ing it after installing this
      update. (This is identical to the bug that was fixed in
      "contrib/cube" in the previous update.)
 -- Martin Pitt <email address hidden> Tue, 01 Feb 2011 22:30:52 +0100

Changed in postgresql-8.4 (Ubuntu Karmic):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.