{"answers":{"affected":"4 open source packages ship an affected version, including autogluon-multimodal and autogluon.multimodal.","exploited":"There is no known exploitation of GHSA-6h2x-4gjf-jc5w in the wild and no public exploit code.","fix":"Upgrade autogluon-multimodal to a fixed version for your release line: 0.4.3 or 0.5.2.","what":"GHSA-6h2x-4gjf-jc5w is an unsafe deserialization vulnerability in autogluon-multimodal, published on 21 Sep 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-6h2x-4gjf-jc5w and fix it if it is affected.\n\nWhat it is: GHSA-6h2x-4gjf-jc5w is an unsafe deserialization vulnerability in autogluon-multimodal, published on 21 Sep 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-6h2x-4gjf-jc5w in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- autogluon-multimodal (PyPI): affected from 0.4.0; fixed in 0.4.3\n- autogluon-multimodal (PyPI): affected from 0.5.0; fixed in 0.5.2\n- autogluon.multimodal (PyPI): affected from 0.4.0; fixed in 0.4.3\n- autogluon.multimodal (PyPI): affected from 0.5.0; fixed in 0.5.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/GHSA-6h2x-4gjf-jc5w/ (Markdown: https://insights.sbomify.com/GHSA-6h2x-4gjf-jc5w/index.md)","id":"GHSA-6h2x-4gjf-jc5w","markdown":"https://insights.sbomify.com/GHSA-6h2x-4gjf-jc5w/index.md","name":"GHSA-6h2x-4gjf-jc5w","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python machine learning library","requires_auth":"none","summary":"An unsafe YAML deserialization flaw in autogluon.multimodal allows attackers to execute arbitrary code or cause denial of service by providing malicious YAML files.","user_interaction":"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\n\nA potential unsafe deserialization issue exists within the `autogluon.multimodal` module, where YAML files are loaded via `yaml.load()` instead of `yaml.safe_load()`. The deserialization of untrusted data may allow an unprivileged third party to cause remote code execution, denial of service, and impact to both confidentiality and integrity.\n\nImpacted versions: `\u003e=0.4.0;\u003c0.4.3`, `\u003e=0.5.0;\u003c0.5.2`.\n\n### Patches\nThe patches are included in `autogluon.multimodal==0.4.3`, `autogluon.multimodal==0.5.2` and Deep Learning Containers `0.4.3` and `0.5.2`.\n\n### Workarounds\nDo not load data which originated from an untrusted source, or that could have been tampered with. **Only load data you trust.**\n\n### References\n* https://cwe.mitre.org/data/definitions/502.html\n* https://www.cvedetails.com/cve/CVE-2017-18342/","ecosystems":["PyPI"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"autogluon.multimodal vulnerable to unsafe YAML deserialization","id":"GHSA-6h2x-4gjf-jc5w","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"deserialization","year":"2022"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"PyPI","fixed":["0.4.3"],"introduced":["0.4.0"],"last_affected":[],"package":"autogluon-multimodal","purl":"pkg:pypi/autogluon-multimodal","source":"GHSA-6h2x-4gjf-jc5w"},{"ecosystem":"PyPI","fixed":["0.5.2"],"introduced":["0.5.0"],"last_affected":[],"package":"autogluon-multimodal","purl":"pkg:pypi/autogluon-multimodal","source":"GHSA-6h2x-4gjf-jc5w"},{"ecosystem":"PyPI","fixed":["0.4.3"],"introduced":["0.4.0"],"last_affected":[],"package":"autogluon.multimodal","purl":null,"source":"GHSA-6h2x-4gjf-jc5w"},{"ecosystem":"PyPI","fixed":["0.5.2"],"introduced":["0.5.0"],"last_affected":[],"package":"autogluon.multimodal","purl":null,"source":"GHSA-6h2x-4gjf-jc5w"}],"products":null,"published":"2022-09-21","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":"An unsafe YAML deserialization flaw in autogluon.multimodal allows attackers to execute arbitrary code or cause denial of service by providing malicious YAML files.","url":"https://insights.sbomify.com/GHSA-6h2x-4gjf-jc5w/"}