{"schema_version":"1.7.3","id":"GHSA-98x5-jw98-6c97","published":"2025-09-17T19:28:14Z","modified":"2025-09-26T16:16:47Z","aliases":["CVE-2025-59347","GO-2025-3966"],"summary":"Dragonfly's manager makes requests to external endpoints with disabled TLS authentication","details":"### Impact\n\nThe Manager disables TLS certificate verification in two HTTP clients (figures 3.1 and 3.2). The clients are not configurable, so users have no way to re-enable the verification.\n\n```golang\nfunc getAuthToken(ctx context.Context, header http.Header) (string, error) { [skipped]\n       client := &http.Client{\n             Timeout: defaultHTTPRequesttimeout,\n             Transport: &http.Transport{\n                    TLSClientConfig: &tls.Config{InsecureSkipVerify: true},\n             },\n}\n[skipped]\n}\n```\n\nA Manager processes dozens of preheat jobs. An adversary performs a network-level Man-in-the-Middle attack, providing invalid data to the Manager. The Manager preheats with the wrong data, which later causes a denial of service and file integrity problems.\n\n### Patches\n\n- Dragonfy v2.1.0 and above.\n\n### Workarounds\n\nThere are no effective workarounds, beyond upgrading.\n\n### References\n\nA third party security audit was performed by Trail of Bits, you can see the [full report](https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf).\n\nIf you have any questions or comments about this advisory, please email us at [dragonfly-maintainers@googlegroups.com](mailto:dragonfly-maintainers@googlegroups.com).","affected":[{"package":{"name":"github.com/dragonflyoss/dragonfly","ecosystem":"Go","purl":"pkg:golang/github.com/dragonflyoss/dragonfly"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-98x5-jw98-6c97/GHSA-98x5-jw98-6c97.json"}},{"package":{"name":"d7y.io/dragonfly/v2","ecosystem":"Go","purl":"pkg:golang/d7y.io/dragonfly/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-98x5-jw98-6c97/GHSA-98x5-jw98-6c97.json"}}],"references":[{"type":"WEB","url":"https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-98x5-jw98-6c97"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59347"},{"type":"PACKAGE","url":"https://github.com/dragonflyoss/dragonfly"},{"type":"WEB","url":"https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2025-3966"}],"database_specific":{"cwe_ids":["CWE-287","CWE-295"],"github_reviewed":true,"github_reviewed_at":"2025-09-17T19:28:14Z","nvd_published_at":"2025-09-17T20:15:36Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}]}