Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Security Measurement
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Insights
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHSA-2011:0407 - Security Advisory
Issued:
2011-03-31
Updated:
2011-03-31

RHSA-2011:0407 - Security Advisory

  • Overview
  • Updated Packages

Synopsis

Moderate: logrotate security update

Type/Severity

Security Advisory: Moderate

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An updated logrotate package that fixes multiple security issues is now
available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team 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.

Description

The logrotate utility simplifies the administration of multiple log files,
allowing the automatic rotation, compression, removal, and mailing of log
files.

A shell command injection flaw was found in the way logrotate handled the
shred directive. A specially-crafted log file could cause logrotate to
execute arbitrary commands with the privileges of the user running
logrotate (root, by default). Note: The shred directive is not enabled by
default. (CVE-2011-1154)

A race condition flaw was found in the way logrotate applied permissions
when creating new log files. In some specific configurations, a local
attacker could use this flaw to open new log files before logrotate applies
the final permissions, possibly leading to the disclosure of sensitive
information. (CVE-2011-1098)

An input sanitization flaw was found in logrotate. A log file with a
specially-crafted file name could cause logrotate to abort when attempting
to process that file a subsequent time. (CVE-2011-1155)

All logrotate users should upgrade to this updated package, which contains
backported patches to resolve these issues.

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/kb/docs/DOC-11259

Affected Products

  • Red Hat Enterprise Linux Server 6 x86_64
  • Red Hat Enterprise Linux Server 6 i386
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 i386
  • Red Hat Enterprise Linux Workstation 6 x86_64
  • Red Hat Enterprise Linux Workstation 6 i386
  • Red Hat Enterprise Linux Desktop 6 x86_64
  • Red Hat Enterprise Linux Desktop 6 i386
  • Red Hat Enterprise Linux for IBM z Systems 6 s390x
  • Red Hat Enterprise Linux for Power, big endian 6 ppc64
  • Red Hat Enterprise Linux for Scientific Computing 6 x86_64
  • Red Hat Enterprise Linux Server from RHUI 6 x86_64
  • Red Hat Enterprise Linux Server from RHUI 6 i386
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 i386
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6 s390x

Fixes

  • BZ - 680796 - CVE-2011-1154 logrotate: Shell command injection by using the shred configuration directive
  • BZ - 680797 - CVE-2011-1155 logrotate: DoS due improper escaping of file names within 'write state' action
  • BZ - 680798 - CVE-2011-1098 logrotate: TOCTOU race condition by creation of new files (between opening the file and moment, final permissions have been applied) [information disclosure]

CVEs

  • CVE-2011-1154
  • CVE-2011-1155
  • CVE-2011-1098

References

  • https://access.redhat.com/security/updates/classification/#moderate
Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 6

SRPM
logrotate-3.7.8-12.el6_0.1.src.rpm SHA-256: 5a8ad4c7085d549e1fe737f4d4acf29e72862c609dd96c8149d7cbd58046642d
x86_64
logrotate-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: eb492744ec5b5f53aaf114bf64f4d695049c3e7ddadbbd6c77c0626e934bd49d
logrotate-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: eb492744ec5b5f53aaf114bf64f4d695049c3e7ddadbbd6c77c0626e934bd49d
logrotate-debuginfo-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: 0287273e74013b63c7105043aa894ca95833856106b1e0a454188377d84acc38
logrotate-debuginfo-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: 0287273e74013b63c7105043aa894ca95833856106b1e0a454188377d84acc38
i386
logrotate-3.7.8-12.el6_0.1.i686.rpm SHA-256: 2bbe4744d46d224977539165285afe45497e24c24daabef04c5f1aa91f7b6639
logrotate-debuginfo-3.7.8-12.el6_0.1.i686.rpm SHA-256: bbf6cbbb411f82d99356893697be74110de14e1e185404cd1ae8bd408008f670

Red Hat Enterprise Linux Server - Extended Life Cycle Support 6

SRPM
logrotate-3.7.8-12.el6_0.1.src.rpm SHA-256: 5a8ad4c7085d549e1fe737f4d4acf29e72862c609dd96c8149d7cbd58046642d
x86_64
logrotate-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: eb492744ec5b5f53aaf114bf64f4d695049c3e7ddadbbd6c77c0626e934bd49d
logrotate-debuginfo-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: 0287273e74013b63c7105043aa894ca95833856106b1e0a454188377d84acc38
i386
logrotate-3.7.8-12.el6_0.1.i686.rpm SHA-256: 2bbe4744d46d224977539165285afe45497e24c24daabef04c5f1aa91f7b6639
logrotate-debuginfo-3.7.8-12.el6_0.1.i686.rpm SHA-256: bbf6cbbb411f82d99356893697be74110de14e1e185404cd1ae8bd408008f670

Red Hat Enterprise Linux Workstation 6

SRPM
logrotate-3.7.8-12.el6_0.1.src.rpm SHA-256: 5a8ad4c7085d549e1fe737f4d4acf29e72862c609dd96c8149d7cbd58046642d
x86_64
logrotate-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: eb492744ec5b5f53aaf114bf64f4d695049c3e7ddadbbd6c77c0626e934bd49d
logrotate-debuginfo-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: 0287273e74013b63c7105043aa894ca95833856106b1e0a454188377d84acc38
i386
logrotate-3.7.8-12.el6_0.1.i686.rpm SHA-256: 2bbe4744d46d224977539165285afe45497e24c24daabef04c5f1aa91f7b6639
logrotate-debuginfo-3.7.8-12.el6_0.1.i686.rpm SHA-256: bbf6cbbb411f82d99356893697be74110de14e1e185404cd1ae8bd408008f670

Red Hat Enterprise Linux Desktop 6

SRPM
logrotate-3.7.8-12.el6_0.1.src.rpm SHA-256: 5a8ad4c7085d549e1fe737f4d4acf29e72862c609dd96c8149d7cbd58046642d
x86_64
logrotate-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: eb492744ec5b5f53aaf114bf64f4d695049c3e7ddadbbd6c77c0626e934bd49d
logrotate-debuginfo-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: 0287273e74013b63c7105043aa894ca95833856106b1e0a454188377d84acc38
i386
logrotate-3.7.8-12.el6_0.1.i686.rpm SHA-256: 2bbe4744d46d224977539165285afe45497e24c24daabef04c5f1aa91f7b6639
logrotate-debuginfo-3.7.8-12.el6_0.1.i686.rpm SHA-256: bbf6cbbb411f82d99356893697be74110de14e1e185404cd1ae8bd408008f670

Red Hat Enterprise Linux for IBM z Systems 6

SRPM
logrotate-3.7.8-12.el6_0.1.src.rpm SHA-256: 5a8ad4c7085d549e1fe737f4d4acf29e72862c609dd96c8149d7cbd58046642d
s390x
logrotate-3.7.8-12.el6_0.1.s390x.rpm SHA-256: f0f042a82eea6997be23140a859b9727e33ee19fb54babcab51eb580fa117812
logrotate-debuginfo-3.7.8-12.el6_0.1.s390x.rpm SHA-256: 64ebae8394f551be8459115c637f017027e6ee4aca9d1950a7c6c89c93483025

Red Hat Enterprise Linux for Power, big endian 6

SRPM
logrotate-3.7.8-12.el6_0.1.src.rpm SHA-256: 5a8ad4c7085d549e1fe737f4d4acf29e72862c609dd96c8149d7cbd58046642d
ppc64
logrotate-3.7.8-12.el6_0.1.ppc64.rpm SHA-256: d742d13a0108a57378bcaa8f4be6b069bd17cb7a31e7bf3f478b3fa6d74acc4e
logrotate-debuginfo-3.7.8-12.el6_0.1.ppc64.rpm SHA-256: 26ed3b1f72efcb66c77129f56c58d961b174ff4838cea5661ef37f155b3a1fe2

Red Hat Enterprise Linux for Scientific Computing 6

SRPM
logrotate-3.7.8-12.el6_0.1.src.rpm SHA-256: 5a8ad4c7085d549e1fe737f4d4acf29e72862c609dd96c8149d7cbd58046642d
x86_64
logrotate-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: eb492744ec5b5f53aaf114bf64f4d695049c3e7ddadbbd6c77c0626e934bd49d
logrotate-debuginfo-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: 0287273e74013b63c7105043aa894ca95833856106b1e0a454188377d84acc38

Red Hat Enterprise Linux Server from RHUI 6

SRPM
logrotate-3.7.8-12.el6_0.1.src.rpm SHA-256: 5a8ad4c7085d549e1fe737f4d4acf29e72862c609dd96c8149d7cbd58046642d
x86_64
logrotate-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: eb492744ec5b5f53aaf114bf64f4d695049c3e7ddadbbd6c77c0626e934bd49d
logrotate-debuginfo-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: 0287273e74013b63c7105043aa894ca95833856106b1e0a454188377d84acc38
i386
logrotate-3.7.8-12.el6_0.1.i686.rpm SHA-256: 2bbe4744d46d224977539165285afe45497e24c24daabef04c5f1aa91f7b6639
logrotate-debuginfo-3.7.8-12.el6_0.1.i686.rpm SHA-256: bbf6cbbb411f82d99356893697be74110de14e1e185404cd1ae8bd408008f670

Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6

SRPM
logrotate-3.7.8-12.el6_0.1.src.rpm SHA-256: 5a8ad4c7085d549e1fe737f4d4acf29e72862c609dd96c8149d7cbd58046642d
s390x
logrotate-3.7.8-12.el6_0.1.s390x.rpm SHA-256: f0f042a82eea6997be23140a859b9727e33ee19fb54babcab51eb580fa117812
logrotate-debuginfo-3.7.8-12.el6_0.1.s390x.rpm SHA-256: 64ebae8394f551be8459115c637f017027e6ee4aca9d1950a7c6c89c93483025

Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6

SRPM
logrotate-3.7.8-12.el6_0.1.src.rpm SHA-256: 5a8ad4c7085d549e1fe737f4d4acf29e72862c609dd96c8149d7cbd58046642d
x86_64
logrotate-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: eb492744ec5b5f53aaf114bf64f4d695049c3e7ddadbbd6c77c0626e934bd49d
logrotate-debuginfo-3.7.8-12.el6_0.1.x86_64.rpm SHA-256: 0287273e74013b63c7105043aa894ca95833856106b1e0a454188377d84acc38
i386
logrotate-3.7.8-12.el6_0.1.i686.rpm SHA-256: 2bbe4744d46d224977539165285afe45497e24c24daabef04c5f1aa91f7b6639
logrotate-debuginfo-3.7.8-12.el6_0.1.i686.rpm SHA-256: bbf6cbbb411f82d99356893697be74110de14e1e185404cd1ae8bd408008f670

Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6

SRPM
logrotate-3.7.8-12.el6_0.1.src.rpm SHA-256: 5a8ad4c7085d549e1fe737f4d4acf29e72862c609dd96c8149d7cbd58046642d
s390x
logrotate-3.7.8-12.el6_0.1.s390x.rpm SHA-256: f0f042a82eea6997be23140a859b9727e33ee19fb54babcab51eb580fa117812
logrotate-debuginfo-3.7.8-12.el6_0.1.s390x.rpm SHA-256: 64ebae8394f551be8459115c637f017027e6ee4aca9d1950a7c6c89c93483025

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

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility