Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 521
Alerts This Week
Warning Icon 1 521

Red Hat 6: RHSA-2016:0491-01 Moderate: Foomatic Memory Corruption

red hat
Calendar Grey March 22, 2016
Scroller Redhat
Canonical has released an urgent security patch for cups targeting two vulnerabilities rated as moderate risk. Users are encouraged to apply the update.
An updated foomatic package that fixes three security issues is now available for Red Hat Enterprise Linux 6

Solution

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

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

Summary

Foomatic is a comprehensive, spooler-independent database of printers, printer drivers, and driver descriptions. The package also includes spooler-independent command line interfaces to manipulate queues and to print files and manipulate print jobs.
It was discovered that the unhtmlify() function of foomatic-rip did not correctly calculate buffer sizes, possibly leading to a heap-based memory corruption. A malicious attacker could exploit this flaw to cause foomatic-rip to crash or, possibly, execute arbitrary code. (CVE-2010-5325)
It was discovered that foomatic-rip failed to remove all shell special characters from inputs used to construct command lines for external programs run by the filter. An attacker could possibly use this flaw to execute arbitrary commands. (CVE-2015-8327, CVE-2015-8560)
All foomatic users should upgrade to this updated package, which contains backported patches to correct these issues.

References

https://access.redhat.com/security/cve/CVE-2010-5325 https://access.redhat.com/security/cve/CVE-2015-8327 https://access.redhat.com/security/cve/CVE-2015-8560 https://access.redhat.com/security/updates/classification#moderate

Package List

Red Hat Enterprise Linux Desktop (v. 6):
Source: foomatic-4.0.4-5.el6_7.src.rpm
i386: foomatic-4.0.4-5.el6_7.i686.rpm foomatic-debuginfo-4.0.4-5.el6_7.i686.rpm
x86_64: foomatic-4.0.4-5.el6_7.x86_64.rpm foomatic-debuginfo-4.0.4-5.el6_7.x86_64.rpm
Red Hat Enterprise Linux HPC Node (v. 6):
Source: foomatic-4.0.4-5.el6_7.src.rpm
x86_64: foomatic-4.0.4-5.el6_7.x86_64.rpm foomatic-debuginfo-4.0.4-5.el6_7.x86_64.rpm
Red Hat Enterprise Linux Server (v. 6):
Source: foomatic-4.0.4-5.el6_7.src.rpm
i386: foomatic-4.0.4-5.el6_7.i686.rpm foomatic-debuginfo-4.0.4-5.el6_7.i686.rpm
ppc64: foomatic-4.0.4-5.el6_7.ppc64.rpm foomatic-debuginfo-4.0.4-5.el6_7.ppc64.rpm
s390x: foomatic-4.0.4-5.el6_7.s390x.rpm foomatic-debuginfo-4.0.4-5.el6_7.s390x.rpm
x86_64: foomatic-4.0.4-5.el6_7.x86_64.rpm foomatic-debuginfo-4.0.4-5.el6_7.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 6):
Source: foomatic-4.0.4-5.el6_7.src.rpm
i386: foomatic-4.0.4-5.el6_7.i686.rpm foomatic-debuginfo-4.0.4-5.el6_7.i686.rpm
x86_64: foomatic-4.0.4-5.el6_7.x86_64.rpm foomatic-debuginfo-4.0.4-5.el6_7.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


Advisory ID: RHSA-2016:0491-01
Product: Red Hat Enterprise Linux
Issue date: 2016-03-22

Topic

An updated foomatic package that fixes three security issues is nowavailable for Red Hat Enterprise Linux 6.Red Hat Product Security has rated this update as having Moderate securityimpact. Common Vulnerability Scoring System (CVSS) base scores, whichgive detailed severity ratings, are available from the CVE links in theReferences section.

Relevant Releases Architectures

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64

Red Hat Enterprise Linux HPC Node (v. 6) - x86_64

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

Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64

Bugs Fixed

1218297 - CVE-2010-5325 foomatic: potential remote arbitrary code execution

1287523 - CVE-2015-8327 cups-filters: foomatic-rip did not consider the back tick as an illegal shell escape character

1291227 - CVE-2015-8560 cups-filters: foomatic-rip did not consider semicolon as illegal shell escape character

Get the latest News and Insights

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