# GHSA-3x5x-fw77-g54c: dmlc/dgl Vulnerable to Remote Code Execution by Pickle Deserialization via rpc.recv_request()

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-03-05T19:50:09.000Z
- Modified: 2025-03-05T20:09:21.358Z
- Weaknesses: CWE-502

## 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

(As written by GitHub Advisory Database.)

## Affected

- dgl (PyPI): up to 2.4.0

## References

- <https://github.com/dmlc/dgl/security/advisories/GHSA-3x5x-fw77-g54c> (web)
- <https://github.com/dmlc/dgl/issues/7874> (web)
- <https://github.com/dmlc/dgl> (package)

## Sources

- GitHub Advisory Database: [GHSA-3x5x-fw77-g54c](https://github.com/advisories/GHSA-3x5x-fw77-g54c), CC-BY-4.0, modified 2025-03-05

---

Page: https://cve.day/GHSA-3x5x-fw77-g54c · Whole record: https://cve.day/GHSA-3x5x-fw77-g54c.json · Rebuilt by cve.day 2026-11-25T22:56:33.798Z
