{"answers":{"affected":"2 open source packages ship an affected version, including dgl.","exploited":"There is no known exploitation of GHSA-3x5x-fw77-g54c in the wild and no public exploit code.","fix":"No fix has been published for GHSA-3x5x-fw77-g54c yet. Limit exposure of the affected software until one is available.","what":"GHSA-3x5x-fw77-g54c is an unsafe deserialization vulnerability in dgl, published on 5 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-3x5x-fw77-g54c and fix it if it is affected.\n\nWhat it is: GHSA-3x5x-fw77-g54c is an unsafe deserialization vulnerability in dgl, published on 5 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-3x5x-fw77-g54c in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- dgl (PyPI): affected all versions up to 2.4.0; no fix listed\n- dgl (PyPI): affected all versions up to 2.4.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-3x5x-fw77-g54c/ (Markdown: https://insights.sbomify.com/GHSA-3x5x-fw77-g54c/index.md)","id":"GHSA-3x5x-fw77-g54c","markdown":"https://insights.sbomify.com/GHSA-3x5x-fw77-g54c/index.md","name":"GHSA-3x5x-fw77-g54c","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"DGL machine learning library","requires_auth":"none","summary":"Attackers can execute arbitrary code remotely by sending malicious pickle data to the DGL RPC server, affecting distributed training clusters.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### 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","ecosystems":["PyPI"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"dmlc/dgl Vulnerable to Remote Code Execution by Pickle Deserialization via rpc.recv_request()","id":"GHSA-3x5x-fw77-g54c","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"deserialization","year":"2025"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["2.4.0"],"package":"dgl","purl":null,"source":"GHSA-3x5x-fw77-g54c"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["2.4.0"],"package":"dgl","purl":"pkg:pypi/dgl","source":"GHSA-3x5x-fw77-g54c"}],"products":null,"published":"2025-03-05","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can execute arbitrary code remotely by sending malicious pickle data to the DGL RPC server, affecting distributed training clusters.","url":"https://insights.sbomify.com/GHSA-3x5x-fw77-g54c/"}