{"id":"CVE-2023-27584","published":"2024-09-19T22:54:40Z","modified":"2024-09-26T03:55:52Z","title":"Dragonfly2 vulnerable to hard coded cyptographic key","vendor":"dragonflyoss","product":"Dragonfly2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04675,"percentile":0.92536,"provenance":"source"},"cwes":[{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"}],"references":[{"url":"https://github.com/dragonflyoss/Dragonfly2/security/advisories/GHSA-hpc8-7wpm-889w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dragonflyoss/Dragonfly2/releases/tag/v2.0.9","tags":["x_refsource_MISC"]}],"priority":{"score":30.4,"factors":[{"name":"EPSS percentile","points":18.51},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"nuclei":[{"id":"CVE-2023-27584","name":"Dragonfly2 < 2.1.0-beta.1 - Hardcoded JWT Secret","severity":"critical","path":"http/cves/2023/CVE-2023-27584.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-27584.yaml"}],"provenance":"source"},"vendorSlug":"dragonflyoss","affectedVersions":[{"vendor":"dragonflyoss","product":"Dragonfly2","versions":["< 2.0.9"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-09-25T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"d7y.io/dragonfly/v2","vulnerableRanges":[">=2.1.0-alpha.0, <2.1.0-beta.1","<2.0.9-rc.2","<2.1.0-beta.1"],"patched":["2.1.0-beta.1","2.0.9-rc.2"],"from":["GHSA-hpc8-7wpm-889w","GO-2024-3136"],"provenance":"source"}],"summary":{"text":"The Dragonfly2 peer-to-peer file distribution and image acceleration system uses a hard-coded JWT signing secret for user authentication. An attacker with network access and no credentials can forge a token to bypass authentication and act with administrator privileges, without requiring any user interaction or specific configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:30:12Z"},"euvd":{"id":"EUVD-2024-2812","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-dragonflyoss-dragonfly-cve-2023-27584","children":[{"from":"CVE-2023-27584","to":"CVE-2026-24124","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["deploy/helm-charts","manager/router/router.go"],"commits":["https://github.com/dragonflyoss/dragonfly/commit/684469a31bd27d38c715c507bca9f6d2c21f9007","https://github.com/dragonflyoss/dragonfly/commit/9fb9a2dfde3100f32dc7f48eabee4c2b64eac55f"],"basis":"shared function","functions":["Init"]}]},{"from":"CVE-2023-27584","to":"CVE-2026-49254","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["manager/router/router.go"],"commits":["https://github.com/dragonflyoss/dragonfly/commit/684469a31bd27d38c715c507bca9f6d2c21f9007","https://github.com/dragonflyoss/dragonfly/commit/20cb2f9cb6372d13c029779f427bdb5ede111183"],"basis":"shared function","functions":["Init"]}]}]}}