CVEvulnerability

CVE-2011-1154

6.9 MEDIUM Published 2011-03-30 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2011-03-30
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
6.9 MEDIUM — AV:L/AC:M/Au:N/C:C/I:C/A:C
Weaknesses
CWE-20

Description

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 configurations

• gentoo logrotate (<= 3.7.9) • gentoo logrotate 3.3 • gentoo logrotate 3.5.9 • gentoo logrotate 3.6.5 • gentoo logrotate 3.7 • gentoo logrotate 3.7.1 • gentoo logrotate 3.7.2 • gentoo logrotate 3.7.6 • gentoo logrotate 3.7.7 • gentoo logrotate 3.7.8

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References