CVE catalog

CVE-2011-1154

logrotate: CVE-2011-1154

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianlogrotatesid3.22.0-1fixed
Debianlogrotateforky3.22.0-1fixed
Debianlogrotatetrixie3.22.0-1fixed
Debianlogrotatebookworm3.21.0-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlogrotatesourcesid3.8.0-1not yet assignedNot reportedNot reported
Debianlogrotatesourceforky3.8.0-1not yet assignedNot reportedNot reported
Debianlogrotatesourcetrixie3.8.0-1not yet assignedNot reportedNot reported
Debianlogrotatesourcebookworm3.8.0-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [logrotate]Fixed
    Details (2)
    • 3.21.0-1 · amd64 · bookworm

      Fixed · Fixed: 3.8.0-1

      dsa · logrotate · debian · bookworm; dsa · logrotate · debian · 12

    • 3.21.0-1 · arm64 · bookworm

      Fixed · Fixed: 3.8.0-1

      dsa · logrotate · debian · bookworm; dsa · logrotate · debian · 12

[Debian 13 (Trixie)]

  • [logrotate]Fixed

    Source package: [logrotate]

    Details (2)
    • 3.22.0-1 · amd64 · trixie

      Fixed · Fixed: 3.8.0-1

      dsa · logrotate · debian · 13

    • 3.22.0-1+b2 · arm64 · trixie

      Fixed · Fixed: 3.8.0-1

      dsa · logrotate · debian · 13

Observed:

References