# GHSA-3X5X-FW77-G54C: dmlc/dgl Vulnerable to Remote Code Execution by Pickle Deserialization via rpc.recv\_request()

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2025-03-05
- Modified: 2025-03-05

## Affected versions

- dgl (PyPI): through 2.4.0

## Description

### Impact
Dgl implements rpc server (start_server() in rpc_server.py) for supporting the RPC communications among different remote users over networks. It relies on pickle serialize and deserialize to pack and unpack network messages. The is a known risk in pickle deserialization functionality that can be used for remote code execution.

### Patches
TBD.

### Workarounds
When running DGL distributed training and inference (DistDGL) make sure you do not assign public IPs to any instance in the cluster.

### References
Issue #7874

### Reported by
Pinji Chen ([cpj24@mails.tsinghua.edu.cn](mailto:cpj24@mails.tsinghua.edu.cn)) from NISL lab (https://netsec.ccert.edu.cn/about) at Tsinghua University

## References

- https://github.com/dmlc/dgl/security/advisories/GHSA-3x5x-fw77-g54c
- https://github.com/dmlc/dgl/issues/7874
- https://github.com/dmlc/dgl

Page: https://cve.now/GHSA-3X5X-FW77-G54C

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
