Security Advisory Important: cfme security, bug fix, and enhancement update

Advisory: RHSA-2014:0469-1
Type: Security Advisory
Severity: Important
Issued on: 2014-05-12
Last updated on: 2014-05-12
Affected Products: Red Hat CloudForms 3.0
CVEs (cve.mitre.org): CVE-2013-6417
CVE-2014-0060
CVE-2014-0061
CVE-2014-0062
CVE-2014-0063
CVE-2014-0064
CVE-2014-0065
CVE-2014-0066
CVE-2014-0078
CVE-2014-0137
CVE-2014-2669

Details

Updated cfme packages that fix multiple security issues, several bugs, and
add various enhancements are now available for Red Hat CloudForms 3.0.

The Red Hat Security Response Team has rated this update as having
Important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

Red Hat CloudForms Management Engine delivers the insight, control, and
automation needed to address the challenges of managing virtual
environments.

A flaw was found in the way Ruby on Rails' actionpack rubygem performed
JSON parameter parsing. An application using a third party library, which
uses the Rack::Request interface, or custom Rack middleware could bypass
the protection implemented to fix the CVE-2013-0155 vulnerability, causing
the application to receive unsafe parameters and become vulnerable to
CVE-2013-0155. (CVE-2013-6417)

An input sanitization flaw was found in the saved_report_delete action in
the ReportController. An authenticated Management Engine user could use
this flaw to perform an SQL injection attack on the Management Engine back
end database. (CVE-2014-0137)

It was found that Red Hat CloudForms Management Engine did not properly
check user role permissions for actions associated with catalogs.
An authenticated Management Engine user could use this flaw to delete
arbitrary catalogs regardless of the granted permissions. (CVE-2014-0078)

Multiple stack-based buffer overflow flaws were found in the date/time
implementation of PostgreSQL. An authenticated database user could provide
a specially crafted date/time value that, when processed, could cause
PostgreSQL to crash or, potentially, execute arbitrary code with the
permissions of the user running PostgreSQL. (CVE-2014-0063)

Multiple integer overflow flaws, leading to heap-based buffer overflows,
were found in various type input functions in PostgreSQL. An authenticated
database user could possibly use these flaws to crash PostgreSQL or,
potentially, execute arbitrary code with the permissions of the user
running PostgreSQL. (CVE-2014-0064, CVE-2014-2669)

Multiple potential buffer overflow flaws were found in PostgreSQL.
An authenticated database user could possibly use these flaws to crash
PostgreSQL or, potentially, execute arbitrary code with the permissions of
the user running PostgreSQL. (CVE-2014-0065)

It was found that granting an SQL role to a database user in a PostgreSQL
database without specifying the "ADMIN" option allowed the grantee to
remove other users from their granted role. An authenticated database user
could use this flaw to remove a user from an SQL role which they were
granted access to. (CVE-2014-0060)

A flaw was found in the validator functions provided by PostgreSQL's
procedural languages. An authenticated database user could possibly use
this flaw to escalate their privileges. (CVE-2014-0061)

A race condition was found in the way PostgreSQL's CREATE INDEX command
performed multiple independent lookups of a table that had to be indexed.
An authenticated database user could possibly use this flaw to escalate
their privileges. (CVE-2014-0062)

It was found that the chkpass extension of PostgreSQL did not check the
return value of the crypt() function. An authenticated database user could
possibly use this flaw to crash PostgreSQL via a null pointer dereference.
(CVE-2014-0066)

Red Hat would like to thank the Ruby on Rails project for reporting
CVE-2013-6417; upstream acknowledges Sudhir Rao as the original reporter
of this issue.

Red Hat would also like to thank the PostgreSQL project for reporting
CVE-2014-0060, CVE-2014-0061, CVE-2014-0062, CVE-2014-0063, CVE-2014-0064,
CVE-2014-0065, CVE-2014-0066, and CVE-2014-2669; upstream acknowledges Noah
Misch, Heikki Linnakangas, Peter Eisentraut, Jozef Mlich, Andres Freund,
Robert Haas, Honza Horak, and Bruce Momjian as the original reporters of
these issues.

The CVE-2014-0137 and CVE-2014-0078 issues were discovered by Jan Rusnacko
of the Red Hat Product Security Team.


Solution

These updated packages upgrade PostgreSQL to version 9.2.7, which fixes
these issues as well as several non-security issues. Refer to the
PostgreSQL Release Notes for a full list of changes:

http://www.postgresql.org/docs/9.2/static/release-9-2-7.html

This update also fixes several bugs and adds various enhancements.
Documentation for these changes will be available shortly from the
Technical Notes document linked to in the References section.

All users of Red Hat CloudForms 3.0 are advised to upgrade to these updated
packages, which correct these issues and add these enhancements.

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the
Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

Updated packages

Red Hat CloudForms 3.0

SRPMS:
postgresql92-postgresql-9.2.7-1.1.el6.src.rpm     MD5: 9699528f8d3bca76120e3f9e92be5b36
SHA-256: b18315010ccd452fc549b1238a66987996d6bf02cb22b2149da5540eb4c89968
prince-9.0r2-4.el6cf.src.rpm     MD5: 2d496860df59e91a452adbc8d8ba992b
SHA-256: c914578c03aa29acab719eb441c97bf461e42fc56005c4410ba38816c5adf728
 
x86_64:
cfme-5.2.3.2-1.el6cf.x86_64.rpm
File outdated by:  RHSA-2014:1037
    MD5: 7ebf985c36ae45e66e5e46bdc33e0f9c
SHA-256: 431ba618a6b538e286fea05e8c1a3f90df5660eab711bd1d0c4ecf5796768df0
cfme-appliance-5.2.3.2-1.el6cf.x86_64.rpm
File outdated by:  RHSA-2014:1037
    MD5: 26559a967b681907d4877ff36d9ab938
SHA-256: c8080ba3c81d19ecc1e14f550e33ef26238842710bf4d916ec47fac36ff52dfd
cfme-lib-5.2.3.2-1.el6cf.x86_64.rpm
File outdated by:  RHSA-2014:1037
    MD5: 5e06d933d81735050f5601199639419c
SHA-256: 4adb939c9ce83ca4f85038d1294daf6dbabe584222a4321eb49c6bf6acd4734d
mingw32-cfme-host-5.2.3.2-1.el6cf.x86_64.rpm
File outdated by:  RHSA-2014:1037
    MD5: d291e265174674d56fbe0605db72d98a
SHA-256: 56f2002f241f57574048df536fcf9c054ebf1bb1c6bd49dbc7a149b25407d70c
postgresql92-postgresql-9.2.7-1.1.el6.x86_64.rpm     MD5: e049d43d4acbf2739138cdcfdd55aafb
SHA-256: 0879a18262600e840bcb074e325b130ba2421220ec55c64215041568e86b97fb
postgresql92-postgresql-contrib-9.2.7-1.1.el6.x86_64.rpm     MD5: 2cc1b559774c88b678b23acc1c041db3
SHA-256: 82f86de0c9b46997f025fb8ada14f50dd95f746f62281219135133c9ecbe0c83
postgresql92-postgresql-devel-9.2.7-1.1.el6.x86_64.rpm     MD5: 92b3d7dc2cc809023ca5fb7ceb7a7ebe
SHA-256: a97cd5f6001b7866153fc12df62886508b4141c14d3310ce38f69e1b9272a7dd
postgresql92-postgresql-docs-9.2.7-1.1.el6.x86_64.rpm     MD5: d25591f1aed88359d00877e030d1f195
SHA-256: 0ac1997d5adc772e117aa493ce2201d279af2d0890dec34ac07ca28c20db7bdd
postgresql92-postgresql-libs-9.2.7-1.1.el6.x86_64.rpm     MD5: e346c4e79cdb7ee63bdee17b7955128a
SHA-256: 58e653a029781e76a05b41a39971af644446e45bdb7a6e0b25943d7bedf87b6c
postgresql92-postgresql-plperl-9.2.7-1.1.el6.x86_64.rpm     MD5: 3d040b5e288bae05ca392efbf52f0faa
SHA-256: 1fe1105cbd61738fb0e445090fd6888bad21a6c7ab960762219acde2a0912d0b
postgresql92-postgresql-plpython-9.2.7-1.1.el6.x86_64.rpm     MD5: a144366a234838fe490471d8f52a256a
SHA-256: 037446e6c73415183179c9e95532bdcc071f37190382b66b9e4b585198d23dd3
postgresql92-postgresql-pltcl-9.2.7-1.1.el6.x86_64.rpm     MD5: 4b30dcbda9da4007f5dd39441b146c0b
SHA-256: 3757aa6d843bdb1197373a587787177843b6b05c5957cd930a5d67babf2372a5
postgresql92-postgresql-server-9.2.7-1.1.el6.x86_64.rpm     MD5: 6878b89deb0946912d7f7855b014470a
SHA-256: e76db63db0ac6a1fa4e9ae366a323a10c062bf7830189497a8d3e74bf1b2cb2a
postgresql92-postgresql-test-9.2.7-1.1.el6.x86_64.rpm     MD5: 770265f1531fd0885b88eda444dddfb4
SHA-256: f7d1d6fe208c7232d9bc090cbd22868d1ac7010e67d884615b6de4c46a2d78d0
postgresql92-postgresql-upgrade-9.2.7-1.1.el6.x86_64.rpm     MD5: 930b0317856b25d5715ef90a83475e12
SHA-256: 7fbde2b39bcfbce7373fff2d3d61fc7131256394ac28464174ca537faf52714f
prince-9.0r2-4.el6cf.x86_64.rpm     MD5: 018eb1396d2e9bc295aecaf5b7cc565e
SHA-256: 8520c1d7cb74bdbd22b0101dcbb91dcad8f100744cada185fd43856a254129bb
ruby193-rubygem-actionpack-3.2.13-6.el6cf.noarch.rpm
File outdated by:  RHSA-2014:0816
    MD5: 5f760227b5416eb711225b9bb24c82ad
SHA-256: b8498df998111cad01154412157e5b0070c9c3818d45df1d57d2d2b8287d0537
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

1036409 - CVE-2013-6417 rubygem-actionpack: unsafe query generation risk (incomplete fix for CVE-2013- 0155)
1064556 - CVE-2014-0078 CFME: multiple authorization bypass vulnerabilities in CatalogController
1065219 - CVE-2014-0060 postgresql: SET ROLE without ADMIN OPTION allows adding and removing group members
1065220 - CVE-2014-0061 postgresql: privilege escalation via procedural language validator functions
1065222 - CVE-2014-0062 postgresql: CREATE INDEX race condition possibly leading to privilege escalation
1065226 - CVE-2014-0063 postgresql: stack-based buffer overflow in datetime input/output
1065230 - CVE-2014-0064 postgresql: integer overflows leading to buffer overflows
1065235 - CVE-2014-0065 postgresql: possible buffer overflow flaws
1065236 - CVE-2014-0066 postgresql: NULL pointer dereference
1076688 - CVE-2014-0137 CFME: ReportController SQL injection
1082154 - CVE-2014-2669 postgresql: multiple integer overflows in hstore_io.c


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/