CVE-2011-1154

Summary

CVECVE-2011-1154
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2011-03-30 22:55:02 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 6.9 from [email protected]

AV:L/AC:M/Au:N/C:C/I:C/A:C

Problem Types: CWE-20 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gentoo Logrotate 3.3 r2 All All
Application Gentoo Logrotate 3.5.9 All All All
Application Gentoo Logrotate 3.5.9 r1 All All
Application Gentoo Logrotate 3.6.5 All All All
Application Gentoo Logrotate 3.6.5 r1 All All
Application Gentoo Logrotate 3.7 All All All
Application Gentoo Logrotate 3.7.1 All All All
Application Gentoo Logrotate 3.7.1 r1 All All
Application Gentoo Logrotate 3.7.1 r2 All All
Application Gentoo Logrotate 3.7.2 All All All
Application Gentoo Logrotate 3.7.6 All All All
Application Gentoo Logrotate 3.7.7 All All All
Application Gentoo Logrotate 3.7.8 All All All
Application Gentoo Logrotate All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Red Hat update for logrotate - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
mandriva.com af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
[SECURITY] Fedora 14 Update: logrotate-3.7.9-2.fc14 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
[SECURITY] Fedora 15 Update: logrotate-3.7.9-8.fc15 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Patch
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
Bug 680796 – CVE-2011-1154 logrotate: Shell command injection by using the shred configuration directive af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Patch
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com Patch
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
oss-security - Re: CVE Request -- logrotate -- nine issues af854a3a-2127-422b-91ae-364da2661108 openwall.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report