Aim Uncontrolled Resource Consumption vulnerability
The Aim web API does not limit how many tracked metrics can be requested in a single call, and the server is single-threaded. An attacker could request a very large number of metrics at once, causing the web server to become unresponsive.
aim
Originally disclosed on huntr
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.
From the GitHub Advisory Database (GHSA-35p3-6j45-prwm, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API endpoint accepts an unbounded number of metric identifiers per request and processes them synchronously on a single-threaded server, so one large request consumes all capacity.
Impact
An attacker could make the Aim web server unresponsive by requesting a large number of metrics at once, causing a denial of service.
What the attacker needed
Access to the Aim web API
The fix
The API should cap the number of metrics that can be requested per call and reject or paginate requests above that limit.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A web server has to do work for every item a user asks for. If it lets someone ask for a huge number of items in one request and handles requests one at a time, that one request can keep it busy and stop it answering anyone else. This is called a denial of service: the service is still running but cannot respond.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.