CVE-2025-59350: Timing attacks against Proxy’s basic authentication are possible
Impact The access control mechanism for the Proxy feature uses simple string comparisons and is therefore vulnerable to timing attacks. An attacker may try to guess the password one character at a time by sending all possible characters to a vulnerable mechanism and measuring the comparison instruction’s execution times. The vulnerability is shown in figure 8.1, where both the username and password are compared with a short-circuiting equality operation.
golang if user != proxy.basicAuth.Username || pass != proxy.basicAuth.Password {
It is currently undetermined what an attacker may be able to do with access to the proxy password.
Patches
- Dragonfy v2.1.0 and above.
Workarounds
There are no effective workarounds, beyond upgrading.
References
A third party security audit was performed by Trail of Bits, you can see the full report.
If you have any questions or comments about this advisory, please email us at dragonfly-maintainers@googlegroups.com.
Other sources
Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the access control mechanism for the Proxy feature uses simple string comparisons and is therefore vulnerable to timing attacks. An attacker may try to guess the password one character at a time by sending all possible characters to a vulnerable mechanism and measuring the comparison instruction’s execution times. This vulnerability is fixed in 2.1.0.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-59350?
The severity of CVE-2025-59350 is high due to the potential for timing attacks against the access control mechanism.
How do I fix CVE-2025-59350?
To fix CVE-2025-59350, upgrade Dragonfly to version 2.1.0 or later where the vulnerability has been addressed.
What systems are affected by CVE-2025-59350?
CVE-2025-59350 affects versions of Dragonfly prior to 2.1.0.
What type of attack is possible with CVE-2025-59350?
CVE-2025-59350 is vulnerable to timing attacks which could allow an attacker to guess passwords effectively.
Is CVE-2025-59350 an open source vulnerability?
Yes, CVE-2025-59350 pertains to an open source software project, Dragonfly.