Aim allows denial of service due to no timeouts for some tracking server endpoints
The aim tracking server's client makes HTTP requests to external servers without timeouts, so it can hang indefinitely waiting for a response. An attacker could cause a denial of service by making the server wait on a slow or unresponsive external endpoint, blocking other requests.
aimhubio/aim
Originally disclosed on huntr
In version 3.23.0 of aimhubio/aim, certain methods that request data from external servers do not have set timeouts, causing the server to wait indefinitely for a response. This can lead to a denial of service, as the tracking server does not respond to other requests while waiting. The issue arises in the client used by the aim tracking server to communicate with external resources, specifically in the _run_read_instructions method and similar calls without timeouts.
From the GitHub Advisory Database (GHSA-6w7p-xrvp-p7xv, 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 HTTP client used by the aim tracking server does not set a timeout on requests to external servers, so a slow or unresponsive endpoint blocks the server indefinitely.
Impact
An attacker could cause a denial of service, as the tracking server does not respond to other requests while waiting for the external server.
What the attacker needed
Ability to influence external server response; aim tracking server running
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 timeout is a limit on how long a program waits for a reply before giving up. Here, the aim server waits forever when an external server does not answer, so it gets stuck and cannot handle other users' requests. This is a denial of service: the service becomes unavailable to legitimate users.
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.