Skip to main content

Out-of-bounds Read

CVE-2025-57697

Severity Medium
Score 6.5/10

Summary

AstrBot Project has an arbitrary file read vulnerability in the function "_encode_image_bs64". Since the "_encode_image_bs64" function defined in "entities.py" opens the image specified by the user in the request body and returns the image content as a base64-encoded string without checking the legitimacy of the image path, attackers can construct a series of malicious URLs to read any specified file, resulting in sensitive data leakage.

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

CWE-125 - Out-of-Bounds Read

Out-of-bounds read is a vulnerability that allows access to memory beyond the authorized accessible location. Such a vulnerability compromises the confidentiality of the trusted environment in the application and enables an attacker to launch further attacks by leveraging the exposed information.

Advisory Timeline

  • Published