Vulnerability Database

322,905

Total vulnerabilities in the database

CVE-2011-1154

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.

  • Published: Mar 30, 2011
  • Updated: Nov 9, 2025
  • CVE: CVE-2011-1154
  • Severity: Medium
  • Exploit:

CVSS v2:

  • Severity: Medium
  • Score: 6.9
  • AV:L/AC:M/Au:N/C:C/I:C/A:C

CWEs:

Software From Fixed in
gentoo / logrotate 3.6.5 3.6.5.x
gentoo / logrotate 3.7.8 3.7.8.x
gentoo / logrotate 3.5.9-r1 3.5.9-r1.x
gentoo / logrotate 3.7.6 3.7.6.x
gentoo / logrotate 3.3-r2 3.3-r2.x
gentoo / logrotate 3.7.2 3.7.2.x
gentoo / logrotate 3.7 3.7.x
gentoo / logrotate 3.7.1-r2 3.7.1-r2.x
gentoo / logrotate 3.6.5-r1 3.6.5-r1.x
gentoo / logrotate 3.5.9 3.5.9.x
gentoo / logrotate 3.7.1-r1 3.7.1-r1.x
gentoo / logrotate - 3.7.9.x
gentoo / logrotate 3.7.1 3.7.1.x
gentoo / logrotate 3.7.7 3.7.7.x