gsd-2017-18342
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2017-18342", "description": "In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the \u0027UnsafeLoader\u0027 has been introduced for backward compatibility with the function.", "id": "GSD-2017-18342", "references": [ "https://www.suse.com/security/cve/CVE-2017-18342.html", "https://advisories.mageia.org/CVE-2017-18342.html", "https://security.archlinux.org/CVE-2017-18342", "https://linux.oracle.com/cve/CVE-2017-18342.html" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2017-18342" ], "details": "In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the \u0027UnsafeLoader\u0027 has been introduced for backward compatibility with the function.", "id": "GSD-2017-18342", "modified": "2023-12-13T01:21:11.250573Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2017-18342", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the \u0027UnsafeLoader\u0027 has been introduced for backward compatibility with the function." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/yaml/pyyaml/pull/74", "refsource": "MISC", "url": "https://github.com/yaml/pyyaml/pull/74" }, { "name": "https://github.com/yaml/pyyaml/blob/master/CHANGES", "refsource": "MISC", "url": "https://github.com/yaml/pyyaml/blob/master/CHANGES" }, { "name": "FEDORA-2019-bed9afe622", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/" }, { "name": "FEDORA-2019-779a9db46a", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/" }, { "name": "FEDORA-2019-44643e8bcb", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/" }, { "name": "https://github.com/marshmallow-code/apispec/issues/278", "refsource": "MISC", "url": "https://github.com/marshmallow-code/apispec/issues/278" }, { "name": "https://github.com/yaml/pyyaml/issues/193", "refsource": "MISC", "url": "https://github.com/yaml/pyyaml/issues/193" }, { "name": "https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation", "refsource": "MISC", "url": "https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation" }, { "name": "GLSA-202003-45", "refsource": "GENTOO", "url": "https://security.gentoo.org/glsa/202003-45" } ] } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c5.1", "affected_versions": "All versions before 5.1", "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "cwe_ids": [ "CWE-1035", "CWE-502", "CWE-937" ], "date": "2019-06-24", "description": "In PyYAML, the `yaml.load()` API could execute arbitrary code if used with untrusted data.", "fixed_versions": [ "5.1" ], "identifier": "CVE-2017-18342", "identifiers": [ "CVE-2017-18342" ], "not_impacted": "All versions starting from 5.1", "package_slug": "pypi/PyYAML", "pubdate": "2018-06-27", "solution": "Upgrade to version 5.1 or above.", "title": "Improper Input Validation", "urls": [ "https://github.com/yaml/pyyaml/pull/74", "https://github.com/yaml/pyyaml/blob/master/CHANGES" ], "uuid": "9f23df3d-089c-4b26-b36c-844f8abb87cf" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "5.1", "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2017-18342" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the \u0027UnsafeLoader\u0027 has been introduced for backward compatibility with the function." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-502" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/yaml/pyyaml/pull/74", "refsource": "MISC", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/yaml/pyyaml/pull/74" }, { "name": "https://github.com/yaml/pyyaml/blob/master/CHANGES", "refsource": "MISC", "tags": [ "Release Notes", "Third Party Advisory" ], "url": "https://github.com/yaml/pyyaml/blob/master/CHANGES" }, { "name": "FEDORA-2019-bed9afe622", "refsource": "FEDORA", "tags": [ "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/" }, { "name": "FEDORA-2019-779a9db46a", "refsource": "FEDORA", "tags": [ "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/" }, { "name": "FEDORA-2019-44643e8bcb", "refsource": "FEDORA", "tags": [ "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/" }, { "name": "https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation" }, { "name": "https://github.com/marshmallow-code/apispec/issues/278", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://github.com/marshmallow-code/apispec/issues/278" }, { "name": "https://github.com/yaml/pyyaml/issues/193", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://github.com/yaml/pyyaml/issues/193" }, { "name": "GLSA-202003-45", "refsource": "GENTOO", "tags": [ "Third Party Advisory" ], "url": "https://security.gentoo.org/glsa/202003-45" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": true, "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 7.5, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "HIGH", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } }, "lastModifiedDate": "2020-10-14T13:23Z", "publishedDate": "2018-06-27T12:29Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- 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.