{"answers":{"affected":"6 open source packages ship an affected version, including vantage6-node and vantage6-server. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-47631 in the wild and no public exploit code.","fix":"Upgrade vantage6-node to 4.1.2 or later.","what":"CVE-2023-47631 is a high-severity vulnerability in vantage6, published on 14 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-47631 and fix it if it is affected.\n\nWhat it is: CVE-2023-47631 is a high-severity vulnerability in vantage6, published on 14 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-47631 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- vantage6-node (PyPI): affected all versions; fixed in 4.1.2\n- vantage6-node (PyPI): affected all versions; fixed in 4.1.2\n- vantage6-node (PyPI): affected all versions; fixed in 4.1.2\n- vantage6-server (PyPI): affected all versions; fixed in 4.1.2\n- vantage6-server (PyPI): affected all versions; fixed in 4.1.2\n- vantage6-server (PyPI): affected all versions; fixed in 4.1.2\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/CVE-2023-47631/ (Markdown: https://insights.sbomify.com/CVE-2023-47631/index.md)","id":"CVE-2023-47631","markdown":"https://insights.sbomify.com/CVE-2023-47631/index.md","name":"CVE-2023-47631","record":{"aliases":["GHSA-vc3v-ppc7-v486","PYSEC-2023-303","PYSEC-2023-304"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"vantage6 node","requires_auth":"high_privilege","summary":"A malicious server can bypass algorithm whitelisting in vantage6 nodes by setting a fake parent_id, allowing execution of unauthorized code.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"vantage6","vendor":"vantage6"}],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"vantage6 is a framework to manage and deploy privacy enhancing technologies like Federated Learning (FL) and Multi-Party Computation (MPC). In affected versions a node does not check if an image is allowed to run if a `parent_id` is set. A malicious party that breaches the server may modify it to set a fake `parent_id` and send a task of a non-whitelisted algorithm. The node will then execute it because the `parent_id` that is set prevents checks from being run. This impacts all servers that are breached by an expert user. This vulnerability has been patched in version 4.1.2. All users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"vantage6 Node accepts non-whitelisted algorithms from malicious server","id":"CVE-2023-47631","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"security_feature_bypass","year":"2023"},"n_packages":6,"n_references":3,"next":{"headline":"Uncontrolled Resource Consumption in Traefik","id":"CVE-2023-47633"},"packages":[{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["0"],"last_affected":[],"package":"vantage6-node","purl":null,"source":"GHSA-vc3v-ppc7-v486"},{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["0"],"last_affected":[],"package":"vantage6-node","purl":"pkg:pypi/vantage6-node","source":"GHSA-vc3v-ppc7-v486"},{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["0"],"last_affected":[],"package":"vantage6-node","purl":"pkg:pypi/vantage6-node","source":"PYSEC-2023-303"},{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["0"],"last_affected":[],"package":"vantage6-server","purl":null,"source":"GHSA-vc3v-ppc7-v486"},{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["0"],"last_affected":[],"package":"vantage6-server","purl":"pkg:pypi/vantage6-server","source":"GHSA-vc3v-ppc7-v486"},{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["0"],"last_affected":[],"package":"vantage6-server","purl":"pkg:pypi/vantage6-server","source":"PYSEC-2023-304"}],"prev":{"headline":"Attacker can cause Kyverno user to unintentionally consume insecure image","id":"CVE-2023-47630"},"products":["vantage6"],"published":"2023-11-14","related":[{"cvss_score":8.8,"headline":"Remote code execution","id":"CVE-2024-21649","kev_date_added":null,"published":"2024-01-30"},{"cvss_score":8.8,"headline":"Refresh tokens do not expire in Vantage6","id":"CVE-2023-23929","kev_date_added":null,"published":"2023-03-03"},{"cvss_score":6.5,"headline":"vantage6 insecure SSH configuration for node and server containers","id":"CVE-2024-21653","kev_date_added":null,"published":"2024-01-30"},{"cvss_score":6.3,"headline":"Improper Preservation of Permissions in vantage6","id":"CVE-2023-22738","kev_date_added":null,"published":"2023-03-01"},{"cvss_score":5.5,"headline":"vantage6's Pickle serialization is insecure","id":"CVE-2023-23930","kev_date_added":null,"published":"2023-10-11"},{"cvss_score":5.4,"headline":"Defining resource name as integer in vantage6 may give unintended access","id":"CVE-2023-28635","kev_date_added":null,"published":"2023-10-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["vantage6"]},"summary":"A malicious server can bypass algorithm whitelisting in vantage6 nodes by setting a fake parent_id, allowing execution of unauthorized code.","url":"https://insights.sbomify.com/CVE-2023-47631/"}