postgresql and postgresql84 security update (RHSA-2013-1475)

Original Release Date: November 27, 2013
Last Revised: April 29, 2015
Number: ASA-2013-515
Risk Level: Medium
Advisory Version: 2.0
Advisory Status: Final

1. Overview:

PostgreSQL is an advanced object-relational database management system (DBMS).

An array index error, leading to a heap-based out-of-bounds buffer read flaw, was found in the way PostgreSQL performed certain error processing using enumeration types. An unprivileged database user could issue a specially crafted SQL query that, when processed by the server component of the PostgreSQL service, would lead to a denial of service (daemon crash) or disclosure of certain portions of server memory. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2013-0255 to this issue.

A flaw was found in the way the pgcrypto contrib module of PostgreSQL (re)initialized its internal random number generator. This could lead to random numbers with less bits of entropy being used by certain pgcrypto functions, possibly allowing an attacker to conduct other attacks. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2013-1900 to this issue.

More information about these vulnerabilities can be found in the security advisory issued by Red Hat:

2. Avaya System Products using a modified version of RHEL5 or RHEL6 with affected packages installed:

Product: Affected Version(s): Risk Level: Actions:
Avaya Aura® Application Enablement Services 5.x, 6.x None See Mitigating Factors table below.
Avaya CMS R17ac.g, R17ac.h None See Mitigating Factors table below.
Avaya Aura® Communication Manager 6.x None See Mitigating Factors table below.
Avaya Aura® Conferencing 7.x None See Mitigating Factors table below.
Avaya Aura® Conferencing Standard Edition 6.x None See Mitigating Factors table below.
Avaya IP Office Server Edition 9.0 including SP1 and SP2 Low Upgrade to 9.0 SP3 or later.
Avaya IP Office Application Server 6.x, 7.x, 8.x, 9.0 including SP1 and SP2 Low For 6.x, 7.x, 8.x, see Mitigating Factors table below.
For 9.0 including SP1 and SP2, upgrade to 9.0 SP3 or later.
Avaya Aura® Messaging 6.x None See Mitigating Factors table below.
Avaya Aura® Communication Manager Utility Services 6.0 thru 6.2 Medium For 6.0, 6.1, upgrade to 6.2 and install 6.2.10.0.15 or later.
For 6.2, install 6.2.10.0.15 or later.

Recommended Actions for System Products:
Avaya strongly recommends following the networking and security best practices by implementing firewalls, ACLs, physical security or other appropriate access restrictions. Though Avaya believes such restrictions should always be in place, risk to Avaya products and the surrounding network from this potential vulnerability may be mitigated by ensuring these practices are implemented until such time as an Avaya provided product update or the recommended Avaya action is applied. Further restrictions as deemed necessary based on the customer's security policies may be required during this interim period, but the System Product operating system or application should not be modified unless the change is approved by Avaya. Making changes that are not approved may void the Avaya product service contract.

Mitigating Factors:

When determining risk, Avaya takes into account many factors as outlined by Avaya's Security Vulnerability Classification Policy. The following table describes factors that mitigate the risk of specific vulnerabilities for affected Avaya products:

Vulnerability Mitigating Factors
CVE-2013-0255
CVE-2013-1900
There is no risk for CMS because only the postgresql-libs package is installed and not postgresql, which is needed to exploit these issues.
There is no risk for AES, Communication Manager, Conferencing, Conferencing SE, Messaging and IPOAS 6.x, 7.x, 8.x because these products use RHEL5. Only the postgresql84 packages are affected for RHEL5 and these packages are not installed.
The risk is rated Low for IP Office Server Edition and Application Server 9.0 because only privileged users have system and database access and the exploit would not provide any additional capabilities.
The risk is rated Medium for Utility Services because of the possibility of a Denial of Service or information disclosure.

3. Avaya Software-Only Products:

Avaya software-only products operate on general-purpose operating systems. Occasionally vulnerabilities may be discovered in the underlying operating system or applications that come with the operating system. These vulnerabilities often do not impact the software-only product directly but may threaten the integrity of the underlying platform.

In the case of this advisory Avaya software-only products are not affected by the vulnerability directly but the underlying Linux platform may be. Customers should determine on which Linux operating system the product was installed and then follow that vendor's guidance.

Product: Actions:
Avaya Aura® Application Enablement Services Depending on the Operating System installed, the affected package may be installed on the underlying Operating System supporting the AES application.
CVLAN Depending on the Operating System installed, the affected package may be installed on the underlying Operating System supporting the CVLAN application.
Avaya Aura® Experience Portal Depending on the Operating System installed, the affected package may be installed on the underlying Operating System supporting the EP application.
Avaya Integrated Management Suite (IMS) Depending on the Operating System installed, the affected package may be installed on the underlying Operating System supporting the IMS application.
Avaya Aura® Presence Services Depending on the Operating System installed, the affected package may be installed on the underlying Operating System supporting the PS application.
Avaya Secure Access Link Gateway Depending on the Operating System installed, the affected package may be installed on the underlying Operating System supporting the SAL Gateway application.
Avaya Voice Portal Depending on the Operating System installed, the affected package may be installed on the underlying Operating System supporting the VP application.

Recommended Actions for Software-Only Products:
In the event that the affected package is installed, Avaya recommends following the recommended actions supplied by Red Hat regarding their Enterprise Linux.

4. Additional Information:

Additional information may also be available via the Avaya support website and through your Avaya account representative. Please contact your Avaya product support representative, or dial 1-800-242-2121, with any questions.

5. Disclaimer:

ALL INFORMATION IS BELIEVED TO BE CORRECT AT THE TIME OF PUBLICATION AND IS PROVIDED "AS IS". AVAYA INC., ON BEHALF ITSELF AND ITS SUBSIDIARIES AND AFFILIATES (HEREINAFTER COLLECTIVELY REFERRED TO AS "AVAYA"), DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND FURTHERMORE, AVAYA MAKES NO REPRESENTATIONS OR WARRANTIES THAT THE STEPS RECOMMENDED WILL ELIMINATE SECURITY OR VIRUS THREATS TO CUSTOMERS' SYSTEMS. IN NO EVENT SHALL AVAYA BE LIABLE FOR ANY DAMAGES WHATSOEVER ARISING OUT OF OR IN CONNECTION WITH THE INFORMATION OR RECOMMENDED ACTIONS PROVIDED HEREIN, INCLUDING DIRECT, INDIRECT, INCIDENTAL, STATUTORY, CONSEQUENTIAL DAMAGES, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF AVAYA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

THE INFORMATION PROVIDED HERE DOES NOT AFFECT THE SUPPORT AGREEMENTS IN PLACE FOR AVAYA PRODUCTS. SUPPORT FOR AVAYA PRODUCTS CONTINUES TO BE EXECUTED AS PER EXISTING AGREEMENTS WITH AVAYA.

6. Revision History:

V 1.0 - November 27, 2013 - Initial Statement issued.
V 2.0 - April 29, 2015 - Updated affected versions and actions for IP Office, IPOAS, US and updated risk level for AES, Conferencing SE. Updated MF for AES, Communication Manager, Conferencing, Conferencing SE, Messaging and IPOAS 6.x, 7.x, 8.x, and set advisory status to Final.

Send information regarding any discovered security problems with Avaya products to either the contact noted in the product's documentation or securityalerts@avaya.com.

Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.

© 2013 Avaya Inc. All Rights Reserved. All trademarks identifying Avaya products by the ® or ™ are registered trademarks or trademarks, respectively, of Avaya Inc. All other trademarks are the property of their respective owners.