Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-c2fc-9q9c-5486

Опубликовано: 17 сент. 2025
Источник: github
Github: Прошло ревью
CVSS4: 5.5

Описание

Dragonfly vulnerable to timing attacks against Proxy’s basic authentication

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.

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.

Пакеты

Наименование

github.com/dragonflyoss/dragonfly

go
Затронутые версииВерсия исправления

< 2.1.0

2.1.0

Наименование

d7y.io/dragonfly/v2

go
Затронутые версииВерсия исправления

< 2.1.0

2.1.0

EPSS

Процентиль: 24%
0.00082
Низкий

5.5 Medium

CVSS4

Дефекты

CWE-208
CWE-697

Связанные уязвимости

CVSS3: 5.3
nvd
5 месяцев назад

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.

EPSS

Процентиль: 24%
0.00082
Низкий

5.5 Medium

CVSS4

Дефекты

CWE-208
CWE-697