logrotate rotates, compresses, and mails system logs.
Multiple vulnerabilities have been discovered in logrotate. Please review the CVE identifiers referenced below for details.
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.
There is no known workaround at this time.
All logrotate users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-admin/logrotate-3.8.0"