Security mailing lists by PureSourceCode

CVE-2025-59351

LOW 2.7CVSS 4.0

DragonFly vulnerable to panics due to nil pointer dereference when using variables created alongside an error

Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the first return value of a function is dereferenced even when the function returns an error. This can result in a nil dereference, and cause code to panic. This vulnerability is fixed in 2.1.0.

Published
17 Sep 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-476
Also known as
GHSA-4mhv-8rh3-4ghwGO-2025-3970
Sources
NVDJSONOSV GHSA-4mhv-8rh3-4ghwJSONOSV GO-2025-3970JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 LOW 2.7 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linuxfoundation dragonfly
cpe:2.3:a:linuxfoundation:dragonfly:*:*:*:*:*:go:*:*
< 2.1.0 2.1.0
OSV Go github.com/dragonflyoss/dragonfly < 2.1.0 2.1.0
OSV Go d7y.io/dragonfly/v2 < 2.1.0 2.1.0
OSV Go github.com/dragonflyoss/dragonfly all versions

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 17 Sep 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Sep 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.