Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 415
Alerts This Week
Warning Icon 1 415

Red Hat 7: RHSA-2014:2023-01 Moderate: Glibc Command Exec Flaw

red hat
Calendar Grey December 18, 2014
Dist Redhat Esm H88
Latest glibc updates for Red Hat Enterprise Linux 7 address a security vulnerability rated as moderate and rectify a bug.
Updated glibc packages that fix one security issue and one bug are now available for Red Hat Enterprise Linux 7

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

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.

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

Read the Full Advisory


Advisory ID: RHSA-2014:2023-01
Product: Red Hat Enterprise Linux
Issue date: 2014-12-18

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.

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

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.