CVE-2023-27584 Dragonfly2 vulnerable to hard coded cyptographic key
CriticalCVSS 9.8
EPSS 33.9%
Scanner template
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| d7y.io/dragonfly/v2(Go) | < 2.0.9-rc.2; < 2.1.0-beta.1; >= 2.1.0-alpha.0, < 2.1.0-beta.1 | 2.0.9-rc.2, 2.1.0-beta.1 | Fixed |
| dragonflyoss Dragonfly2 | < 2.0.9; = < 2.0.9 | 2.0.9 | Fixed |
| linuxfoundation dragonfly | < 2.0.9 | 2.0.9 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| d7y.io/dragonfly/v2(Go) | >= 2.1.0-alpha.0, < 2.1.0-beta.1 | 2.1.0-beta.1 |
| d7y.io/dragonfly/v2(Go) | < 2.0.9-rc.2 | 2.0.9-rc.2 |
| d7y.io/dragonfly/v2(Go) | < 2.1.0-beta.1 | 2.1.0-beta.1 |
| dragonflyoss Dragonfly2 | = < 2.0.9 | No fix listed |
| dragonflyoss Dragonfly2 | < 2.0.9 | 2.0.9 |
| linuxfoundation dragonfly | < 2.0.9 | 2.0.9 |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com product
- https://github.com/dragonflyoss/Dragonfly2/releases/tag/v2.0.9 release-notes
- https://github.com/dragonflyoss/Dragonfly2/security/advisories/GHSA-hpc8-7wpm-889w exploit vendor-advisory
- github.com