ChatterBot is a machine learning, conversational dialog engine for creating chat bots. ChatterBot versions up to 1.2.10 are vulnerable to a denial-of-service condition caused by improper database session and connection pool management. Concurrent invocations of the get_response() method can exhaust the underlying SQLAlchemy connection pool, resulting in persistent service unavailability and requiring a manual restart to recover. Version 1.2.11 fixes the issue.
https://github.com/user-attachments/assets/4ee845c4-b847-4854-84ec-4b2fb2f7090f
https://github.com/gunthercox/ChatterBot/security/advisories/GHSA-v4w8-49pv-mf72
https://github.com/gunthercox/ChatterBot/releases/tag/1.2.11
https://github.com/gunthercox/ChatterBot/pull/2432
https://github.com/gunthercox/ChatterBot/commit/de89fe648139f8eeacc998ad4524fab291a378cf