Description
Dragonfly is an open source P2P-based file distribution and image acceleration system. It is hosted by the Cloud Native Computing Foundation (CNCF) as an Incubating Level Project. Dragonfly uses JWT to verify user. However, the secret key for JWT, "Secret Key", is hard coded, which leads to authentication bypass. An attacker can perform any action as a user with admin privileges. This issue has been addressed in release version 2.0.9. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| dragonflyoss | Dragonfly2 | < 2.0.9 | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Dragonfly2 < 2.1.0-beta.1 - Hardcoded JWT Secret http/cves/2023/CVE-2023-27584.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | d7y.io/dragonfly/v2 | >= 2.1.0-alpha.0, < 2.1.0-beta.1 | 2.1.0-beta.1 | GHSA-hpc8-7wpm-889w |
| Go | d7y.io/dragonfly/v2 | < 2.0.9-rc.2 | 2.0.9-rc.2 | GHSA-hpc8-7wpm-889w |
| Go | d7y.io/dragonfly/v2 | < 2.1.0-beta.1 | 2.1.0-beta.1 | GO-2024-3136 |