Skip to main content

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

CVE-2025-12970

Severity High
Score 8.8/10

Summary

The "extract_name()" function in Fluent Bit in_docker input plugin copies container names into a fixed size stack buffer without validating length. An attacker who can create containers or control container names, can supply a long name that overflows the buffer, leading to process crash or arbitrary code execution. Versions 4.0.x prior to 4.0.12, 4.1.x prior to 4.1.1 are affected.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • LOW
  • HIGH
  • HIGH

CWE-120 - Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.

Advisory Timeline

  • Published