CVE-2011-1155: Low severity logrotate vulnerability

Published Feb 27, 2011
·
Updated

A denial of service flaw was found in the way the logrotate utility performed arguments sanitization, when performing the 'write state' action. A local attacker could use this flaw to cause abort in subsequent logrotate runs via a specially-crafted log file name.

Other sources

The writeState function in logrotate.c in logrotate 3.7.9 and earlier might allow context-dependent attackers to cause a denial of service (rotation outage) via a (1) \n (newline) or (2) \ (backslash) character in a log filename, as demonstrated by a filename that is automatically constructed on the basis of a hostname or virtual machine name.

MITRE

Affected Software

14 affected components
Gentoo logrotate<=3.7.9
Gentoo logrotate=3.3-r2
Gentoo logrotate=3.5.9
Gentoo logrotate=3.5.9-r1
Gentoo logrotate=3.6.5
Gentoo logrotate=3.6.5-r1
Gentoo logrotate=3.7
Gentoo logrotate=3.7.1
Gentoo logrotate=3.7.1-r1
Gentoo logrotate=3.7.1-r2
Gentoo logrotate=3.7.2
Gentoo logrotate=3.7.6
Gentoo logrotate=3.7.7
Gentoo logrotate=3.7.8

Event History

Feb 27, 2011
Data Sourced
07:38 PM
DescriptionSeverityAffected Software
Mar 30, 2011
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2011-1155?

CVE-2011-1155 is classified as a denial of service vulnerability.

2

How do I fix CVE-2011-1155?

To address CVE-2011-1155, update logrotate to the latest available version.

3

What versions of logrotate are affected by CVE-2011-1155?

Logrotate versions up to 3.7.9 and certain specific earlier versions are affected by CVE-2011-1155.

4

Who can exploit CVE-2011-1155?

CVE-2011-1155 can be exploited by local attackers with the ability to craft a malicious log file name.

5

What kind of issue does CVE-2011-1155 cause?

CVE-2011-1155 can cause a denial of service, leading to abort in subsequent logrotate executions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203