CVE-2011-1154: Gentoo Logrotate

Medium severity, CVSS 6.9. EPSS: 0.4% chance of exploitation in the next 30 days.

The shred_file function in logrotate.c in logrotate 3.7.9 and earlier might allow context-dependent attackers to execute arbitrary commands via shell metacharacters in a log filename, as demonstrated by a filename that is automatically constructed on the basis of a hostname or virtual machine name.

Affected products

  • Gentoo Logrotate: up to and including 3.7.9; version 3.3 only; version 3.5.9 only; version 3.6.5 only; version 3.7 only; version 3.7.1 only; …

Published 2011-03-30. Last modified 2026-06-16.