Vulnerabilities in pkg:pypi/autogluon.multimodal
PACKAGEGHSA-6h2x-4gjf-jc5w is a HIGH autogluon.multimodal vulnerable to unsafe yaml vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Autogluon.multimodal libraries in the PyPI ecosystem. The issue involves autogluon.multimodal vulnerable to unsafe yaml deserialization. Remediation is available by upgrading affected packages to version 0.4.3, 0.5.2.
pkg:pypi/autogluon.multimodal
Vulnerability advisories affecting package pkg:pypi/autogluon.multimodal. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6h2x-4gjf-jc5w | - | HIGH | autogluon.multimodal vulnerable to unsafe YAML deserialization |
GHSA-6h2x-4gjf-jc5w at a Glance
How to Fix GHSA-6h2x-4gjf-jc5w
To remediate this vulnerability, upgrade all affected Autogluon.multimodal dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install autogluon.multimodal>=0.4.3
pip install autogluon.multimodal>=0.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show autogluon.multimodal
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-6h2x-4gjf-jc5w, inspect your installed packages using pip:
pip show autogluon.multimodal
Analyze the terminal output to locate any version of Autogluon.multimodal in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.4.3), your application is affected.
Note: The pip show autogluon.multimodal command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Autogluon.multimodal, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-6h2x-4gjf-jc5w Affected Autogluon.multimodal Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
autogluon.multimodal
|
PyPI |
≥ 0.4.0
< 0.4.3
|
0.4.3
|
|
autogluon.multimodal
|
PyPI |
≥ 0.5.0
< 0.5.2
|
0.5.2
|
References
Frequently Asked Questions
What is GHSA-6h2x-4gjf-jc5w?
Which Autogluon.multimodal versions are affected?
What version fixes GHSA-6h2x-4gjf-jc5w?
Is autogluon.multimodal affected?
What CWE is associated with GHSA-6h2x-4gjf-jc5w?
How can I check PyPI dependencies for GHSA-6h2x-4gjf-jc5w?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6h2x-4gjf-jc5w",
"modified" : "2022-09-21T21:42:05Z",
"published" : "2022-09-21T21:42:05Z",
"aliases" : [ ],
"summary" : "autogluon.multimodal vulnerable to unsafe YAML deserialization",
"details" : "### 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: `>=0.4.0;<0.4.3`, `>=0.5.0;<0.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/\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "autogluon.multimodal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.4.0"
}, {
"fixed" : "0.4.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "autogluon.multimodal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.5.0"
}, {
"fixed" : "0.5.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/awslabs/autogluon/security/advisories/GHSA-6h2x-4gjf-jc5w"
}, {
"type" : "WEB",
"url" : "https://github.com/awslabs/autogluon/pull/1987"
}, {
"type" : "WEB",
"url" : "https://github.com/awslabs/autogluon/commit/23a37e74e58d03055c84a1b89c5af6c3db296b5e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/awslabs/autogluon"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-21T21:42:05Z",
"nvd_published_at" : null
}
}