Skip to content
OpenAdvisories

Weakness (CWE)

CWE-779: Logging of Excessive Data

Base Draft

The product logs too much information, making log files hard to process and possibly hindering recovery efforts or forensic analysis after an attack.

How to prevent it (3 mitigations)
  1. Architecture and Design

    Suppress large numbers of duplicate log messages and replace them with periodic summaries. For example, syslog may include an entry that states "last message repeated X times" when recording repeated events.

  2. Architecture and Design

    Support a maximum size for the log file that can be controlled by the administrator. If the maximum size is reached, the admin should be notified. Also, consider reducing functionality of the product. This may result in a denial-of-service to legitimate product users, but it will prevent the product from adversely impacting the entire system.

  3. Implementation

    Adjust configurations appropriately when the product is transitioned from a debug state to production.

Source: MITRE CWE-779

1 result · Clear filters · Feed

  • Low 2.7

    AIOHTTP Vulnerable to Cookie Parser Warning Storm

    AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. In versions 3.13.2 and below, reading multiple invalid cookies can lead to a logging storm. If the cookies attribute is accessed in an application, then an attacker may be able to…