Every CVE Search/ Get API key

CVE-2011-1154

The shred_file function in logrotate.c in logrotate 3.7.9 and earlier might allow context...

6.9 MediumFix available

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.

Exploit likelihood

0.41%Down 1.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.9

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.

Record
CVE-2011-1154
CVSS 2.0
6.9 MediumAV:L/AC:M/Au:N/C:C/I:C/A:C
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2011-1154
Updated
2026-11-02
EUVDEUVD-2011-1167 No score

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.

Record
EUVD-2011-1167
Updated
2026-11-03
GitHub AdvisoriesGHSA-57xq-cfp9-365f No score

The shred_file function in logrotate.c in logrotate 3.7.9 and earlier might allow context...

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.

Record
GHSA-57xq-cfp9-365f
Weakness
CWE-20
Updated
2026-11-02
OSV No score

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.

Record
CVE-2011-1154
Updated
2026-11-02
OSVDEBIAN-CVE-2011-1154 No score

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.

Record
DEBIAN-CVE-2011-1154
Updated
2026-11-02
OSVopenSUSE-SU-2024:10231-1 No score

logrotate-3.10.0-4.1 on GA media

These are all security issues fixed in the logrotate-3.10.0-4.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10231-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
logrotate
Debian:12
before 3.8.0-1
3.8.0-1
logrotate
Debian:13
before 3.8.0-1
3.8.0-1
logrotate
Debian:14
before 3.8.0-1
3.8.0-1
logrotate
Red Hat:enterprise_linux:6::client
before 0:3.7.8-12.el6_0.1
0:3.7.8-12.el6_0.1
logrotate-debuginfo
Red Hat:enterprise_linux:6::client
before 0:3.7.8-12.el6_0.1
0:3.7.8-12.el6_0.1
logrotate
Red Hat:enterprise_linux:6::computenode
before 0:3.7.8-12.el6_0.1
0:3.7.8-12.el6_0.1
logrotate-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:3.7.8-12.el6_0.1
0:3.7.8-12.el6_0.1
logrotate
Red Hat:enterprise_linux:6::server
before 0:3.7.8-12.el6_0.1
0:3.7.8-12.el6_0.1
logrotate-debuginfo
Red Hat:enterprise_linux:6::server
before 0:3.7.8-12.el6_0.1
0:3.7.8-12.el6_0.1
logrotate
Red Hat:enterprise_linux:6::workstation
before 0:3.7.8-12.el6_0.1
0:3.7.8-12.el6_0.1
logrotate-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:3.7.8-12.el6_0.1
0:3.7.8-12.el6_0.1
logrotate
openSUSE:Tumbleweed
before 3.10.0-4.1
3.10.0-4.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2011-1154 is a medium vulnerability (CVSS 6.9) in Gentoo Logrotate, published March 30, 2011. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.41%, the 35th percentile. Fixed in logrotate 3.8.0-1.

References

Show 56 moreShow less
MoveEnter Open