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
- Severity: Medium (CVSS 2.0 base score 6.9)
- EPSS exploit prediction: 0% (33rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-20
- Affected product: Gentoo Logrotate
- Published:
- Last modified:
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
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057845.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/056992.html
- http://openwall.com/lists/oss-security/2011/03/04/16
- http://openwall.com/lists/oss-security/2011/03/04/17
- http://openwall.com/lists/oss-security/2011/03/04/18
- http://openwall.com/lists/oss-security/2011/03/04/19
- http://openwall.com/lists/oss-security/2011/03/04/22
- http://openwall.com/lists/oss-security/2011/03/04/24
- http://openwall.com/lists/oss-security/2011/03/04/25
- http://openwall.com/lists/oss-security/2011/03/04/26
- http://openwall.com/lists/oss-security/2011/03/04/27
- http://openwall.com/lists/oss-security/2011/03/04/28
- http://openwall.com/lists/oss-security/2011/03/04/29
- http://openwall.com/lists/oss-security/2011/03/04/30
- http://openwall.com/lists/oss-security/2011/03/04/31
- http://openwall.com/lists/oss-security/2011/03/04/32
- http://openwall.com/lists/oss-security/2011/03/04/33
- http://openwall.com/lists/oss-security/2011/03/05/4
- http://openwall.com/lists/oss-security/2011/03/05/6
- http://openwall.com/lists/oss-security/2011/03/05/8
- http://openwall.com/lists/oss-security/2011/03/06/3
- http://openwall.com/lists/oss-security/2011/03/06/4
- http://openwall.com/lists/oss-security/2011/03/06/5
- http://openwall.com/lists/oss-security/2011/03/06/6
- http://openwall.com/lists/oss-security/2011/03/07/11
- http://openwall.com/lists/oss-security/2011/03/07/5
- http://openwall.com/lists/oss-security/2011/03/07/6
- http://openwall.com/lists/oss-security/2011/03/08/5
- http://openwall.com/lists/oss-security/2011/03/10/2
- http://openwall.com/lists/oss-security/2011/03/10/3
Affected products (14)
- cpe:2.3:a:gentoo:logrotate:*:*:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.3:r2:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.5.9:*:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.5.9:r1:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.6.5:*:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.6.5:r1:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.7:*:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.7.1:*:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.7.1:r1:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.7.1:r2:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.7.2:*:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.7.6:*:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.7.7:*:*:*:*:*:*:*
- cpe:2.3:a:gentoo:logrotate:3.7.8:*:*:*:*:*:*:*
More vulnerabilities in Gentoo Logrotate
- CVE-2011-1550 — Medium (CVSS 6.3): The default configuration of logrotate on SUSE openSUSE Factory uses root privileges to process files in directories…
- CVE-2011-1549 — Medium (CVSS 6.3): The default configuration of logrotate on Gentoo Linux uses root privileges to process files in directories that permit…
- CVE-2011-1548 — Medium (CVSS 6.3): The default configuration of logrotate on Debian GNU/Linux uses root privileges to process files in directories that…
- CVE-2011-1155 — Low (CVSS 1.9): The writeState function in logrotate.c in logrotate 3.7.9 and earlier might allow context-dependent attackers to cause…
- CVE-2011-1098 — Low (CVSS 1.9): Race condition in the createOutputFile function in logrotate.c in logrotate 3.7.9 and earlier allows local users to…
All CVEs affecting Gentoo Logrotate →
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48277 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48055 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download any video media. In versions 2.4.0 and…
- CVE-2026-34910 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS…
- CVE-2026-33587 — Critical (CVSS 10.0): Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →