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

Not scored Published

An unsafe YAML deserialization flaw in autogluon.multimodal allows attackers to execute arbitrary code or cause denial of service by providing malicious YAML files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-6h2x-4gjf-jc5w?

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.

Official 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

Which versions are affected by GHSA-6h2x-4gjf-jc5w?

4 open source packages ship an affected version, including autogluon-multimodal and autogluon.multimodal.

PackageAffectedFixed in
autogluon-multimodal PyPIFrom 0.4.00.4.3
autogluon-multimodal PyPIFrom 0.5.00.5.2
autogluon.multimodal PyPIFrom 0.4.00.4.3
autogluon.multimodal PyPIFrom 0.5.00.5.2

How do I fix GHSA-6h2x-4gjf-jc5w?

Upgrade autogluon-multimodal to a fixed version for your release line: 0.4.3 or 0.5.2.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is GHSA-6h2x-4gjf-jc5w being exploited?

There is no known exploitation of GHSA-6h2x-4gjf-jc5w in the wild and no public exploit code.

Sources

Is GHSA-6h2x-4gjf-jc5w in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free