GHSA-6h2x-4gjf-jc5w

Suggest an improvement
Source
https://github.com/advisories/GHSA-6h2x-4gjf-jc5w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-6h2x-4gjf-jc5w/GHSA-6h2x-4gjf-jc5w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6h2x-4gjf-jc5w
Published
2022-09-21T21:42:05Z
Modified
2024-12-02T05:42:36Z
Summary
autogluon.multimodal vulnerable to unsafe YAML deserialization
Details

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

Database specific
{
    "cwe_ids":  [
        "CWE-502"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-09-21T21:42:05Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

PyPI / autogluon-multimodal

Package

Name
autogluon-multimodal
View open source insights on deps.dev
Purl
pkg:pypi/autogluon-multimodal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.4.0
Fixed
0.4.3

Affected versions

0.*
0.4.3b20220616
0.4.3b20220617
0.4.3b20220618
0.4.3b20220619
0.4.3b20220620
0.4.3b20220621
0.4.3b20220622

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-6h2x-4gjf-jc5w/GHSA-6h2x-4gjf-jc5w.json"

PyPI / autogluon-multimodal

Package

Name
autogluon-multimodal
View open source insights on deps.dev
Purl
pkg:pypi/autogluon-multimodal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.5.0
Fixed
0.5.2

Affected versions

0.*
0.5.0
0.5.1b20220624
0.5.1b20220625
0.5.1b20220626
0.5.1b20220627
0.5.1b20220628
0.5.1b20220629
0.5.1b20220630
0.5.1b20220701
0.5.1b20220702
0.5.1b20220703
0.5.1b20220704
0.5.1b20220705
0.5.1b20220706
0.5.1b20220707
0.5.1b20220708
0.5.1b20220709
0.5.1b20220710
0.5.1b20220711
0.5.1b20220712
0.5.1b20220713
0.5.1b20220714
0.5.1b20220715
0.5.1b20220716
0.5.1b20220717
0.5.1b20220718
0.5.1
0.5.2b20220719
0.5.2b20220720
0.5.2b20220721
0.5.2b20220722
0.5.2b20220723
0.5.2b20220724
0.5.2b20220725
0.5.2b20220726
0.5.2b20220727
0.5.2b20220728

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-6h2x-4gjf-jc5w/GHSA-6h2x-4gjf-jc5w.json"