Advisory

DEBIAN-CVE-2011-1154

Also known as: CVE-2011-1154

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2011-03-30 22:55 UTC
Modified
2026-10-23 17:47 UTC

Affected packages and fixes

logrotate

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.8.0-1 (ecosystem)

Fixed versions

3.8.0-1

Fix

  • Fixed version 3.8.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

logrotate

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.8.0-1 (ecosystem)

Fixed versions

3.8.0-1

Fix

  • Fixed version 3.8.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

logrotate

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.8.0-1 (ecosystem)

Fixed versions

3.8.0-1

Fix

  • Fixed version 3.8.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences