CVE-2024-12778 Denial of Service in aimhubio/aim
Attackers can cause denial of service in Aim by requesting excessive metrics, blocking the single-threaded web server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-12778?
CVE-2024-12778 is a high-severity denial of service vulnerability in aimhubio/aim, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability in aimhubio/aim version 3.25.0 allows for a denial of service (DoS) attack. The issue arises when a large number of tracked metrics are retrieved simultaneously from the Aim web API, causing the web server to become unresponsive. The root cause is the lack of a limit on the number of metrics that can be requested per call, combined with the server's single-threaded nature, leading to excessive resource consumption and blocking of the server.
Weakness: CWE-770
Which versions are affected by CVE-2024-12778?
3 open source packages ship an affected version, including aim. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
aim PyPI | All versions to 3.25.0 | None |
aim PyPI | All versions to 3.25.0 | None |
aim PyPI | All versions to 3.25.0 | None |
Products include Aimstack Aim.
How do I fix CVE-2024-12778?
No fix has been published for CVE-2024-12778 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-12778 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12778 exists.
Other vulnerabilities in aimhubio/aim
- CVE-2024-6396 Arbitrary File Overwrite and Data Exfiltration in aimhubio/aim
- CVE-2024-2195 Remote Code Execution in aimhubio/aim
- CVE-2024-6829 Arbitrary File Overwrite through tarfile-extraction in aimhubio/aim
- CVE-2024-8769 Arbitrary File Deletion via Relative Path Traversal in aimhubio/aim
- CVE-2025-51464 Aim vulnerable to Cross-site Scripting
Sources
Also known as GHSA-35p3-6j45-prwm, PYSEC-2026-1080.