====================================================================                   Red Hat Security Advisory

Synopsis:          Moderate: glibc security and bug fix update
Advisory ID:       RHSA-2014:2023-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2014:2023.html
Issue date:        2014-12-18
CVE Names:         CVE-2014-7817 
====================================================================
1. Summary:

Updated glibc packages that fix one security issue and one bug are now
available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having Moderate 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.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

3. Description:

The glibc packages provide the standard C libraries (libc), POSIX thread
libraries (libpthread), standard math libraries (libm), and the Name
Server Caching Daemon (nscd) used by multiple programs on the system.
Without these libraries, the Linux system cannot function correctly.

It was found that the wordexp() function would perform command substitution
even when the WRDE_NOCMD flag was specified. An attacker able to provide
specially crafted input to an application using the wordexp() function, and
not sanitizing the input correctly, could potentially use this flaw to
execute arbitrary commands with the credentials of the user running that
application. (CVE-2014-7817)

This issue was discovered by Tim Waugh of the Red Hat Developer Experience
Team.

This update also fixes the following bug:

* Prior to this update, if a file stream that was opened in append mode and
its underlying file descriptor were used at the same time and the file was
truncated using the ftruncate() function on the file descriptor, a
subsequent ftell() call on the stream incorrectly modified the file offset
by seeking to the new end of the file. This update ensures that ftell()
modifies the state of the file stream only when it is in append mode and
its buffer is not empty. As a result, the described incorrect changes to
the file offset no longer occur. (BZ#1170187)

All glibc users are advised to upgrade to these updated packages, which
contain backported patches to correct these issues.

4. Solution:

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/knowledge/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

1157689 - CVE-2014-7817 glibc: command execution in wordexp() with WRDE_NOCMD specified
1170187 - Problems when using ftruncate on files opened in append mode

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
glibc-2.17-55.el7_0.3.src.rpm

x86_64:
glibc-2.17-55.el7_0.3.i686.rpm
glibc-2.17-55.el7_0.3.x86_64.rpm
glibc-common-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-devel-2.17-55.el7_0.3.i686.rpm
glibc-devel-2.17-55.el7_0.3.x86_64.rpm
glibc-headers-2.17-55.el7_0.3.x86_64.rpm
glibc-utils-2.17-55.el7_0.3.x86_64.rpm
nscd-2.17-55.el7_0.3.x86_64.rpm

Red Hat Enterprise Linux Client Optional (v. 7):

x86_64:
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-static-2.17-55.el7_0.3.i686.rpm
glibc-static-2.17-55.el7_0.3.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
glibc-2.17-55.el7_0.3.src.rpm

x86_64:
glibc-2.17-55.el7_0.3.i686.rpm
glibc-2.17-55.el7_0.3.x86_64.rpm
glibc-common-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-devel-2.17-55.el7_0.3.i686.rpm
glibc-devel-2.17-55.el7_0.3.x86_64.rpm
glibc-headers-2.17-55.el7_0.3.x86_64.rpm
glibc-utils-2.17-55.el7_0.3.x86_64.rpm
nscd-2.17-55.el7_0.3.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

x86_64:
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-static-2.17-55.el7_0.3.i686.rpm
glibc-static-2.17-55.el7_0.3.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
glibc-2.17-55.el7_0.3.src.rpm

ppc64:
glibc-2.17-55.el7_0.3.ppc.rpm
glibc-2.17-55.el7_0.3.ppc64.rpm
glibc-common-2.17-55.el7_0.3.ppc64.rpm
glibc-debuginfo-2.17-55.el7_0.3.ppc.rpm
glibc-debuginfo-2.17-55.el7_0.3.ppc64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.ppc.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.ppc64.rpm
glibc-devel-2.17-55.el7_0.3.ppc.rpm
glibc-devel-2.17-55.el7_0.3.ppc64.rpm
glibc-headers-2.17-55.el7_0.3.ppc64.rpm
glibc-utils-2.17-55.el7_0.3.ppc64.rpm
nscd-2.17-55.el7_0.3.ppc64.rpm

s390x:
glibc-2.17-55.el7_0.3.s390.rpm
glibc-2.17-55.el7_0.3.s390x.rpm
glibc-common-2.17-55.el7_0.3.s390x.rpm
glibc-debuginfo-2.17-55.el7_0.3.s390.rpm
glibc-debuginfo-2.17-55.el7_0.3.s390x.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.s390.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.s390x.rpm
glibc-devel-2.17-55.el7_0.3.s390.rpm
glibc-devel-2.17-55.el7_0.3.s390x.rpm
glibc-headers-2.17-55.el7_0.3.s390x.rpm
glibc-utils-2.17-55.el7_0.3.s390x.rpm
nscd-2.17-55.el7_0.3.s390x.rpm

x86_64:
glibc-2.17-55.el7_0.3.i686.rpm
glibc-2.17-55.el7_0.3.x86_64.rpm
glibc-common-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-devel-2.17-55.el7_0.3.i686.rpm
glibc-devel-2.17-55.el7_0.3.x86_64.rpm
glibc-headers-2.17-55.el7_0.3.x86_64.rpm
glibc-utils-2.17-55.el7_0.3.x86_64.rpm
nscd-2.17-55.el7_0.3.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 7):

ppc64:
glibc-debuginfo-2.17-55.el7_0.3.ppc.rpm
glibc-debuginfo-2.17-55.el7_0.3.ppc64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.ppc.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.ppc64.rpm
glibc-static-2.17-55.el7_0.3.ppc.rpm
glibc-static-2.17-55.el7_0.3.ppc64.rpm

s390x:
glibc-debuginfo-2.17-55.el7_0.3.s390.rpm
glibc-debuginfo-2.17-55.el7_0.3.s390x.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.s390.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.s390x.rpm
glibc-static-2.17-55.el7_0.3.s390.rpm
glibc-static-2.17-55.el7_0.3.s390x.rpm

x86_64:
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-static-2.17-55.el7_0.3.i686.rpm
glibc-static-2.17-55.el7_0.3.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
glibc-2.17-55.el7_0.3.src.rpm

x86_64:
glibc-2.17-55.el7_0.3.i686.rpm
glibc-2.17-55.el7_0.3.x86_64.rpm
glibc-common-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-devel-2.17-55.el7_0.3.i686.rpm
glibc-devel-2.17-55.el7_0.3.x86_64.rpm
glibc-headers-2.17-55.el7_0.3.x86_64.rpm
glibc-utils-2.17-55.el7_0.3.x86_64.rpm
nscd-2.17-55.el7_0.3.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 7):

x86_64:
glibc-debuginfo-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm
glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm
glibc-static-2.17-55.el7_0.3.i686.rpm
glibc-static-2.17-55.el7_0.3.x86_64.rpm

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

7. References:

https://access.redhat.com/security/cve/CVE-2014-7817
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is . More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2014 Red Hat, Inc.

Red Hat: 2014:2023-01: glibc: Moderate Advisory

Updated glibc packages that fix one security issue and one bug are now available for Red Hat Enterprise Linux 7

Summary

The glibc packages provide the standard C libraries (libc), POSIX thread libraries (libpthread), standard math libraries (libm), and the Name Server Caching Daemon (nscd) used by multiple programs on the system. Without these libraries, the Linux system cannot function correctly.
It was found that the wordexp() function would perform command substitution even when the WRDE_NOCMD flag was specified. An attacker able to provide specially crafted input to an application using the wordexp() function, and not sanitizing the input correctly, could potentially use this flaw to execute arbitrary commands with the credentials of the user running that application. (CVE-2014-7817)
This issue was discovered by Tim Waugh of the Red Hat Developer Experience Team.
This update also fixes the following bug:
* Prior to this update, if a file stream that was opened in append mode and its underlying file descriptor were used at the same time and the file was truncated using the ftruncate() function on the file descriptor, a subsequent ftell() call on the stream incorrectly modified the file offset by seeking to the new end of the file. This update ensures that ftell() modifies the state of the file stream only when it is in append mode and its buffer is not empty. As a result, the described incorrect changes to the file offset no longer occur. (BZ#1170187)
All glibc users are advised to upgrade to these updated packages, which contain backported patches to correct these issues.



Summary


Solution

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/knowledge/articles/11258

References

https://access.redhat.com/security/cve/CVE-2014-7817 https://access.redhat.com/security/updates/classification/#moderate

Package List

Red Hat Enterprise Linux Client (v. 7):
Source: glibc-2.17-55.el7_0.3.src.rpm
x86_64: glibc-2.17-55.el7_0.3.i686.rpm glibc-2.17-55.el7_0.3.x86_64.rpm glibc-common-2.17-55.el7_0.3.x86_64.rpm glibc-debuginfo-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm glibc-devel-2.17-55.el7_0.3.i686.rpm glibc-devel-2.17-55.el7_0.3.x86_64.rpm glibc-headers-2.17-55.el7_0.3.x86_64.rpm glibc-utils-2.17-55.el7_0.3.x86_64.rpm nscd-2.17-55.el7_0.3.x86_64.rpm
Red Hat Enterprise Linux Client Optional (v. 7):
x86_64: glibc-debuginfo-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm glibc-static-2.17-55.el7_0.3.i686.rpm glibc-static-2.17-55.el7_0.3.x86_64.rpm
Red Hat Enterprise Linux ComputeNode (v. 7):
Source: glibc-2.17-55.el7_0.3.src.rpm
x86_64: glibc-2.17-55.el7_0.3.i686.rpm glibc-2.17-55.el7_0.3.x86_64.rpm glibc-common-2.17-55.el7_0.3.x86_64.rpm glibc-debuginfo-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm glibc-devel-2.17-55.el7_0.3.i686.rpm glibc-devel-2.17-55.el7_0.3.x86_64.rpm glibc-headers-2.17-55.el7_0.3.x86_64.rpm glibc-utils-2.17-55.el7_0.3.x86_64.rpm nscd-2.17-55.el7_0.3.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
x86_64: glibc-debuginfo-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm glibc-static-2.17-55.el7_0.3.i686.rpm glibc-static-2.17-55.el7_0.3.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source: glibc-2.17-55.el7_0.3.src.rpm
ppc64: glibc-2.17-55.el7_0.3.ppc.rpm glibc-2.17-55.el7_0.3.ppc64.rpm glibc-common-2.17-55.el7_0.3.ppc64.rpm glibc-debuginfo-2.17-55.el7_0.3.ppc.rpm glibc-debuginfo-2.17-55.el7_0.3.ppc64.rpm glibc-debuginfo-common-2.17-55.el7_0.3.ppc.rpm glibc-debuginfo-common-2.17-55.el7_0.3.ppc64.rpm glibc-devel-2.17-55.el7_0.3.ppc.rpm glibc-devel-2.17-55.el7_0.3.ppc64.rpm glibc-headers-2.17-55.el7_0.3.ppc64.rpm glibc-utils-2.17-55.el7_0.3.ppc64.rpm nscd-2.17-55.el7_0.3.ppc64.rpm
s390x: glibc-2.17-55.el7_0.3.s390.rpm glibc-2.17-55.el7_0.3.s390x.rpm glibc-common-2.17-55.el7_0.3.s390x.rpm glibc-debuginfo-2.17-55.el7_0.3.s390.rpm glibc-debuginfo-2.17-55.el7_0.3.s390x.rpm glibc-debuginfo-common-2.17-55.el7_0.3.s390.rpm glibc-debuginfo-common-2.17-55.el7_0.3.s390x.rpm glibc-devel-2.17-55.el7_0.3.s390.rpm glibc-devel-2.17-55.el7_0.3.s390x.rpm glibc-headers-2.17-55.el7_0.3.s390x.rpm glibc-utils-2.17-55.el7_0.3.s390x.rpm nscd-2.17-55.el7_0.3.s390x.rpm
x86_64: glibc-2.17-55.el7_0.3.i686.rpm glibc-2.17-55.el7_0.3.x86_64.rpm glibc-common-2.17-55.el7_0.3.x86_64.rpm glibc-debuginfo-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm glibc-devel-2.17-55.el7_0.3.i686.rpm glibc-devel-2.17-55.el7_0.3.x86_64.rpm glibc-headers-2.17-55.el7_0.3.x86_64.rpm glibc-utils-2.17-55.el7_0.3.x86_64.rpm nscd-2.17-55.el7_0.3.x86_64.rpm
Red Hat Enterprise Linux Server Optional (v. 7):
ppc64: glibc-debuginfo-2.17-55.el7_0.3.ppc.rpm glibc-debuginfo-2.17-55.el7_0.3.ppc64.rpm glibc-debuginfo-common-2.17-55.el7_0.3.ppc.rpm glibc-debuginfo-common-2.17-55.el7_0.3.ppc64.rpm glibc-static-2.17-55.el7_0.3.ppc.rpm glibc-static-2.17-55.el7_0.3.ppc64.rpm
s390x: glibc-debuginfo-2.17-55.el7_0.3.s390.rpm glibc-debuginfo-2.17-55.el7_0.3.s390x.rpm glibc-debuginfo-common-2.17-55.el7_0.3.s390.rpm glibc-debuginfo-common-2.17-55.el7_0.3.s390x.rpm glibc-static-2.17-55.el7_0.3.s390.rpm glibc-static-2.17-55.el7_0.3.s390x.rpm
x86_64: glibc-debuginfo-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm glibc-static-2.17-55.el7_0.3.i686.rpm glibc-static-2.17-55.el7_0.3.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 7):
Source: glibc-2.17-55.el7_0.3.src.rpm
x86_64: glibc-2.17-55.el7_0.3.i686.rpm glibc-2.17-55.el7_0.3.x86_64.rpm glibc-common-2.17-55.el7_0.3.x86_64.rpm glibc-debuginfo-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm glibc-devel-2.17-55.el7_0.3.i686.rpm glibc-devel-2.17-55.el7_0.3.x86_64.rpm glibc-headers-2.17-55.el7_0.3.x86_64.rpm glibc-utils-2.17-55.el7_0.3.x86_64.rpm nscd-2.17-55.el7_0.3.x86_64.rpm
Red Hat Enterprise Linux Workstation Optional (v. 7):
x86_64: glibc-debuginfo-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-2.17-55.el7_0.3.x86_64.rpm glibc-debuginfo-common-2.17-55.el7_0.3.i686.rpm glibc-debuginfo-common-2.17-55.el7_0.3.x86_64.rpm glibc-static-2.17-55.el7_0.3.i686.rpm glibc-static-2.17-55.el7_0.3.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key/


Severity
Advisory ID: RHSA-2014:2023-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2014:2023.html
Issued Date: : 2014-12-18
CVE Names: CVE-2014-7817

Topic

Updated glibc packages that fix one security issue and one bug are nowavailable for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having Moderate securityimpact. Common Vulnerability Scoring System (CVSS) base scores, which givedetailed severity ratings, are available for each vulnerability from theCVE links in the References section.


Topic


 

Relevant Releases Architectures

Red Hat Enterprise Linux Client (v. 7) - x86_64

Red Hat Enterprise Linux Client Optional (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64

Red Hat Enterprise Linux Server (v. 7) - ppc64, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - x86_64

Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64


Bugs Fixed

1157689 - CVE-2014-7817 glibc: command execution in wordexp() with WRDE_NOCMD specified

1170187 - Problems when using ftruncate on files opened in append mode


Related News