Security mailing lists by PureSourceCode

CVE-2011-1154

MEDIUM 6.9CVSS 2.0

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
30 Mar 2011
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.9 AV:L/AC:M/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:*:*:*:*:*:*:*:*
<= 3.7.9
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.3:r2:*:*:*:*:*:*
= 3.3
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.5.9:*:*:*:*:*:*:*
= 3.5.9
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.5.9:r1:*:*:*:*:*:*
= 3.5.9
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.6.5:*:*:*:*:*:*:*
= 3.6.5
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.6.5:r1:*:*:*:*:*:*
= 3.6.5
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.7:*:*:*:*:*:*:*
= 3.7
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.7.1:*:*:*:*:*:*:*
= 3.7.1
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.7.1:r1:*:*:*:*:*:*
= 3.7.1
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.7.1:r2:*:*:*:*:*:*
= 3.7.1
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.7.2:*:*:*:*:*:*:*
= 3.7.2
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.7.6:*:*:*:*:*:*:*
= 3.7.6
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.7.7:*:*:*:*:*:*:*
= 3.7.7
NVD gentoo logrotate
cpe:2.3:a:gentoo:logrotate:3.7.8:*:*:*:*:*:*:*
= 3.7.8

References

History

  • 25 Nov 2026 20:16 UTC · NVD: first stored (published 30 Mar 2011)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.