{"id":"GHSA-3x5x-fw77-g54c","summary":"dmlc/dgl Vulnerable to Remote Code Execution by Pickle Deserialization via rpc.recv_request()","details":"### Impact\nDgl 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.\n\n### Patches\nTBD.\n\n### Workarounds\nWhen running DGL distributed training and inference (DistDGL) make sure you do not assign public IPs to any instance in the cluster.\n\n### References\nIssue #7874\n\n### Reported by\nPinji Chen ([cpj24@mails.tsinghua.edu.cn](mailto:cpj24@mails.tsinghua.edu.cn)) from NISL lab (https://netsec.ccert.edu.cn/about) at Tsinghua University","modified":"2025-03-05T20:09:21.358666Z","published":"2025-03-05T19:50:09Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-03-05T19:50:09Z","nvd_published_at":null,"cwe_ids":["CWE-502"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/dmlc/dgl/security/advisories/GHSA-3x5x-fw77-g54c"},{"type":"WEB","url":"https://github.com/dmlc/dgl/issues/7874"},{"type":"PACKAGE","url":"https://github.com/dmlc/dgl"}],"affected":[{"package":{"name":"dgl","ecosystem":"PyPI","purl":"pkg:pypi/dgl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.4.0"}]}],"versions":["0.0.1","0.1.0","0.1.2","0.1.3","0.2","0.3","0.3.1","0.4","0.4.1","0.4.2","0.4.3","0.4.3.post1","0.4.3.post2","0.4rc190819","0.4rc190821","0.4rc190822","0.4rc190823","0.4rc190824","0.4rc190826","0.4rc190902","0.4rc190903","0.4rc190904","0.4rc190905","0.4rc190906","0.4rc190908","0.4rc190909","0.4rc190910","0.4rc190911","0.4rc190912","0.4rc190915","0.4rc190916","0.4rc190917","0.4rc190918","0.4rc190920","0.4rc190921","0.4rc190923","0.4rc190924","0.4rc190927","0.4rc190928","0.4rc190929","0.4rc191001","0.4rc191003","0.4rc191004","0.4rc191005","0.5.0","0.5.1","0.5.2","0.5.3","0.6.0","0.6.0.post1","0.6.1","0.8.0.post1","0.9.0","0.9.1","1.0.0","1.0.1","1.0.4","1.1.0","1.1.1","1.1.2","1.1.2.post1","1.1.3","2.0.0","2.1.0","2.2.0","2.2.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-3x5x-fw77-g54c/GHSA-3x5x-fw77-g54c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}