CVE-2011-1154

Publication date 30 March 2011

Last updated 24 July 2024


Ubuntu priority

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
logrotate 11.04 natty
Fixed 3.7.8-6ubuntu3.1
10.10 maverick
Fixed 3.7.8-6ubuntu1.1
10.04 LTS lucid
Fixed 3.7.8-4ubuntu2.2
9.10 karmic Ignored end of life
8.04 LTS hardy
Not affected
6.06 LTS dapper
Not affected

Notes


mdeslaur

issue #6 shred option was introduced in logrotate 3.7.5

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
logrotate

References

Related Ubuntu Security Notices (USN)

    • USN-1172-1
    • logrotate vulnerabilities
    • 21 July 2011

Other references