logrotate: Multiple vulnerabilities — GLSA 201206-36

Multiple vulnerabilities were found in logrotate, which could lead to arbitrary system command execution.

Affected packages

app-admin/logrotate on all architectures
Affected versions < 3.8.0
Unaffected versions >= 3.8.0

Background

logrotate rotates, compresses, and mails system logs.

Description

Multiple vulnerabilities have been discovered in logrotate. Please review the CVE identifiers referenced below for details.

Impact

A local attacker could use this flaw to truncate arbitrary system file, to change file owner or mode on arbitrary system files, to conduct symlink attacks and send arbitrary system files, to execute arbitrary system commands, to cause abort in subsequent logrotate runs, to disclose sensitive information, to execute arbitrary code or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All logrotate users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-admin/logrotate-3.8.0"
 

References

Release date
June 25, 2012

Latest revision
June 25, 2012: 1

Severity
high

Exploitable
local

Bugzilla entries