GHSA-mvmf-94v6-879g
fzf vulnerable to denial of service through quadratic HTTP request-body accumulation
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/junegunn/fzf | < 0.73.1 | 0.73.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
fzf is vulnerable to a Denial of Service (DoS) due to inefficient HTTP body processing in the --listen mode due to inefficient HTTP body processing using repeated string concatenation, resulting in quadratic time complexity (O(n²)). A crafted POST request with many small segments can trigger excessive CPU usage during request handling.This allows a single malicious request to monopolize the single‑threaded HTTP server, blocking all other clients and resulting in denial of service.
This issue was fixed in version 0.73.1.
References
External links from the advisory. They lead to third-party sites.