CVE-2011-1154

CVE-2011-1154 is a medium-severity vulnerability in Gentoo Logrotate with a CVSS 2.0 base score of 6.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2011-1154?
CVE-2011-1154 has a CVSS 2.0 base score of 6.9, rated medium severity.
Is CVE-2011-1154 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (33rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2011-1154?
CVE-2011-1154 primarily affects Gentoo Logrotate. In total, 14 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2011-1154?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2011-1154 published?
CVE-2011-1154 was published on 2011-03-30 and last updated on 2026-06-16.

References

Affected products (14)

More vulnerabilities in Gentoo Logrotate

All CVEs affecting Gentoo Logrotate →

Other CWE-20 (Improper Input Validation) vulnerabilities

Browse all CWE-20 (Improper Input Validation) vulnerabilities →