Resource management error in logrotate - CVE-2011-1155

 

Resource management error in logrotate - CVE-2011-1155

Published: March 31, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU45153
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2011-1155
CWE-ID: CWE-399
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: logrotate
Affected software:
logrotate

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

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) (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.


How to mitigate CVE-2011-1155

Install update from vendor's website.

Sources