CVE-2011-1098: Race Condition

Published Feb 27, 2011
·
Updated

It was found that logrotate utility used insecure default permissions, when creating of new files (time-of-check, time-of-use, TOCTOU race condition). In some specific configurations, a local attacker could use this flaw to open the new file before the final permissions have been applied, leading to disclosure of sensitive information.

Other sources

Race condition in the createOutputFile function in logrotate.c in logrotate 3.7.9 and earlier allows local users to read log data by opening a file before the intended permissions are in place.

MITRE

Affected Software

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

Event History

Feb 27, 2011
Data Sourced
via Red Hat·07:41 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-1098?

CVE-2011-1098 has a medium severity rating due to its potential to allow local attackers to exploit a TOCTOU race condition.

2

How do I fix CVE-2011-1098?

To fix CVE-2011-1098, update the logrotate utility to a patched version or adjust file permissions to prevent race conditions.

3

What software versions are affected by CVE-2011-1098?

CVE-2011-1098 affects multiple versions of logrotate including 3.3, 3.5.9, 3.6.5, and various 3.7.x versions.

4

Who is impacted by CVE-2011-1098?

Users with vulnerable logrotate configurations, particularly in unsecure environments, are impacted by CVE-2011-1098.

5

What types of attacks can CVE-2011-1098 facilitate?

CVE-2011-1098 can facilitate local privilege escalation attacks by allowing an attacker to open new log files before permissions are properly set.

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