Vulnerability · Published Sep 19, 2024 · Assigned by GitHub_M
CVE-2023-27584Dragonfly2 vulnerable to hard coded cyptographic key
Critical 9.8
In plain English
A critical-severity security flaw in Dragonfly2 from dragonflyoss. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 33.9% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | d7y.io/dragonfly/v2 | 2.1.0-beta.1 | GHSA-hpc8-7wpm-889w |
| Go | d7y.io/dragonfly/v2 | 2.0.9-rc.2 | GHSA-hpc8-7wpm-889w |
| Go | d7y.io/dragonfly/v2 | 2.1.0-beta.1 | GO-2024-3136 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| dragonflyoss | Dragonfly2 | < 2.0.9 |
Weakness: CWE-321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/dragonflyoss/Dragonfly2/security/advisories/GHSA-hpc8-7wpm-889w x_refsource_CONFIRM
- https://github.com/dragonflyoss/Dragonfly2/releases/tag/v2.0.9 x_refsource_MISC