Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 applicationsUpgrade d7y.io/dragonfly/v2/scheduler/resource/standard to version 2.4.4-rc.3 or higher.
Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) in the DownloadTinyFile process when the scheduler's gRPC service accepts attacker-controlled values for PeerHost.Ip and PeerHost.DownPort without proper validation. An attacker can cause the scheduler to initiate HTTP requests to arbitrary internal network addresses, potentially accessing sensitive internal resources and exfiltrating up to 128 bytes per task by supplying malicious values in the gRPC request. This is only exploitable if the scheduler is deployed with its default configuration, which lacks authentication and uses insecure transport credentials.