Bug 212360 (CVE-2006-5542)

Summary: CVE-2006-5540 New version fixes three different crash vulnerabilities
Product: [Other] Security Response Reporter: Lubomir Kundrak <lkundrak>
Component: vulnerabilityAssignee: Tom Lane <tgl>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: hhorak
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.postgresql.org/about/news.664
Whiteboard:
Fixed In Version: 8.1.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-11 16:47:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 212358    
Bug Blocks:    

Description Lubomir Kundrak 2006-10-26 15:03:04 UTC
+++ This bug was initially created as a clone of Bug #212358 +++

Description of problem:

The three crash conditions are not considered critical vulnerabilities, because
all three require authenticated access to the database with the ability to run
ad-hoc queries, and none can be exploited for privilege escalation.

1.) Disallow aggregate functions in UPDATE commands, except within sub-SELECTs (Tom)
(The behavior of such an aggregate was unpredictable, and in 8.1.X could cause a
crash, so it has been disabled. The SQL standard does not allow this either.)

2.) Fix core dump when an untyped literal is taken as ANYARRAY

3.) Fix core dump in duration logging for extended query protocol when a COMMIT
or ROLLBACK is executed

Version-Release number of selected component (if applicable):

1.) >=7.4.1, Affects RHEL 4.1, FC5, FC6
2.) >=8.1, Affects FC5, FC6
3.) >=8.1, Affects FC5, FC6

Additional info:

Here are commit messages with diffs:
1.) http://archives.postgresql.org/pgsql-committers/2006-10/msg00205.php
2.) http://archives.postgresql.org/pgsql-committers/2006-08/msg00277.php
3.) http://archives.postgresql.org/pgsql-committers/2006-06/msg00299.php

Comment 1 Tom Lane 2007-01-11 16:47:09 UTC
Updates are now released for FC5 and FC6.