
CVE catalog
CVE-2011-1154
logrotate: CVE-2011-1154
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.41% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | logrotate | sid | 3.22.0-1 | fixed |
| Debian | logrotate | forky | 3.22.0-1 | fixed |
| Debian | logrotate | trixie | 3.22.0-1 | fixed |
| Debian | logrotate | bookworm | 3.21.0-1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | logrotate | source | sid | 3.8.0-1 | not yet assigned | Not reported | Not reported |
| Debian | logrotate | source | forky | 3.8.0-1 | not yet assigned | Not reported | Not reported |
| Debian | logrotate | source | trixie | 3.8.0-1 | not yet assigned | Not reported | Not reported |
| Debian | logrotate | source | bookworm | 3.8.0-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [logrotate]Fixed
Details (2)
3.21.0-1· amd64 · bookwormFixed · Fixed:
3.8.0-1dsa · logrotate · debian · bookworm; dsa · logrotate · debian · 12
3.21.0-1· arm64 · bookwormFixed · Fixed:
3.8.0-1dsa · logrotate · debian · bookworm; dsa · logrotate · debian · 12
[Debian 13 (Trixie)]
Observed:
References
- [https://access.redhat.com/errata/RHSA-2011:0407]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_10231-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2011-1154]
- [https://security-tracker.debian.org/tracker/CVE-2011-1154]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]