# GHSA-6h2x-4gjf-jc5w: autogluon.multimodal vulnerable to unsafe YAML deserialization

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-09-21T21:42:05.000Z
- Modified: 2024-12-02T05:42:36.343Z
- Weaknesses: CWE-502

## Description

### Impact

A 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.

Impacted versions: `>=0.4.0;<0.4.3`, `>=0.5.0;<0.5.2`.

### Patches
The 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`.

### Workarounds
Do not load data which originated from an untrusted source, or that could have been tampered with. **Only load data you trust.**

### References
* https://cwe.mitre.org/data/definitions/502.html
* https://www.cvedetails.com/cve/CVE-2017-18342/

(As written by GitHub Advisory Database.)

## Affected

- autogluon-multimodal (PyPI): from 0.4.0 before 0.4.3; from 0.5.0 before 0.5.2

## References

- <https://github.com/awslabs/autogluon/security/advisories/GHSA-6h2x-4gjf-jc5w> (web)
- <https://github.com/awslabs/autogluon/pull/1987> (web)
- <https://github.com/awslabs/autogluon/commit/23a37e74e58d03055c84a1b89c5af6c3db296b5e> (web)
- <https://github.com/awslabs/autogluon> (package)

## Sources

- GitHub Advisory Database: [GHSA-6h2x-4gjf-jc5w](https://github.com/advisories/GHSA-6h2x-4gjf-jc5w), CC-BY-4.0, modified 2024-12-02

---

Page: https://cve.day/GHSA-6h2x-4gjf-jc5w · Whole record: https://cve.day/GHSA-6h2x-4gjf-jc5w.json · Rebuilt by cve.day 2026-11-25T22:56:34.275Z
