NULL Pointer Dereference Affecting github.com/dragonflyoss/dragonfly/client/daemon/rpcserver package, versions <2.1.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMDRAGONFLYOSSDRAGONFLYCLIENTDAEMONRPCSERVER-12878907
  • published18 Sept 2025
  • disclosed17 Sept 2025
  • creditUnknown

Introduced: 17 Sep 2025

NewCVE-2025-59351  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade github.com/dragonflyoss/dragonfly/client/daemon/rpcserver to version 2.1.1 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference via the prefetchParentTask and recursiveDownloadWithDirectMetadata, which the first return value of the functions is dereferenced even when the functions returns an error. An attacker can cause the application to panic by triggering an error condition that results in a nil value being dereferenced.

References

CVSS Base Scores

version 4.0
version 3.1