Skip to content
OpenAdvisories
Unscored CVE-2011-1155 EUVD-2011-1168GHSA-fcm8-m55c-7v4r

The writeState function in logrotate.c in logrotate 3.7.9 and earlier might allow context-dependent attackers to cause a denial of service …

Published Mar 30, 2011 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 logrotate 3.8.0-1 —
Debian 13 logrotate 3.8.0-1 —
Debian 12 logrotate 3.8.0-1 —
ReleasePackageFixed inAdvisory
RHEL 6 logrotate 3.7.8-12.el6_0.1 RHSA-2011:0407
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed logrotate 3.10.0-4.1 openSUSE-SU-2024:10231-1

Advisories 2

References