GHSA-98x5-jw98-6c97

Suggest an improvement
Source
https://github.com/advisories/GHSA-98x5-jw98-6c97
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-98x5-jw98-6c97/GHSA-98x5-jw98-6c97.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-98x5-jw98-6c97
Aliases
Published
2025-09-17T19:28:14Z
Modified
2025-09-26T16:16:47Z
Severity
  • 5.5 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Dragonfly's manager makes requests to external endpoints with disabled TLS authentication
Details

Impact

The 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.

func getAuthToken(ctx context.Context, header http.Header) (string, error) { [skipped]
       client := &http.Client{
             Timeout: defaultHTTPRequesttimeout,
             Transport: &http.Transport{
                    TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
             },
}
[skipped]
}

A 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.

Patches

  • Dragonfy v2.1.0 and above.

Workarounds

There are no effective workarounds, beyond upgrading.

References

A third party security audit was performed by Trail of Bits, you can see the full report.

If you have any questions or comments about this advisory, please email us at dragonfly-maintainers@googlegroups.com.

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"
}
References

Affected packages

Go / github.com/dragonflyoss/dragonfly

Package

Name
github.com/dragonflyoss/dragonfly
View open source insights on deps.dev
Purl
pkg:golang/github.com/dragonflyoss/dragonfly

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"

Go / d7y.io/dragonfly/v2

Package

Name
d7y.io/dragonfly/v2
View open source insights on deps.dev
Purl
pkg:golang/d7y.io/dragonfly/v2

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"