GHSA-8q59-q68h-6hv4
Vulnerability from github
Published
2021-03-25 21:26
Modified
2024-10-25 21:31
Severity ?
9.8 (Critical) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
9.3 (Critical) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
9.3 (Critical) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
Improper Input Validation in PyYAML
Details
A vulnerability was discovered in the PyYAML library in versions before 5.4, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "PyYAML" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "5.4" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2020-14343" ], "database_specific": { "cwe_ids": [ "CWE-20" ], "github_reviewed": true, "github_reviewed_at": "2021-03-25T21:15:23Z", "nvd_published_at": "2021-02-09T21:15:00Z", "severity": "CRITICAL" }, "details": "A vulnerability was discovered in the PyYAML library in versions before 5.4, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747.", "id": "GHSA-8q59-q68h-6hv4", "modified": "2024-10-25T21:31:44Z", "published": "2021-03-25T21:26:26Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-14343" }, { "type": "WEB", "url": "https://github.com/SeldonIO/seldon-core/issues/2252" }, { "type": "WEB", "url": "https://github.com/yaml/pyyaml/issues/420" }, { "type": "WEB", "url": "https://github.com/yaml/pyyaml/issues/420#issuecomment-663673966" }, { "type": "WEB", "url": "https://github.com/yaml/pyyaml/commit/a001f2782501ad2d24986959f0239a354675f9dc" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1860466" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-8q59-q68h-6hv4" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2021-142.yaml" }, { "type": "PACKAGE", "url": "https://github.com/yaml/pyyaml" }, { "type": "WEB", "url": "https://pypi.org/project/PyYAML" }, { "type": "WEB", "url": "https://www.oracle.com/security-alerts/cpuapr2022.html" }, { "type": "WEB", "url": "https://www.oracle.com/security-alerts/cpujul2022.html" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", "type": "CVSS_V4" } ], "summary": "Improper Input Validation in PyYAML" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.