VOOZH about

URL: https://nvd.nist.gov/vuln/detail/CVE-2017-18342

⇱ NVD - CVE-2017-18342


  1. Vulnerabilities

CVE-2017-18342 Detail

Modified After Enrichment

This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.

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 'UnsafeLoader' has been introduced for backward compatibility with the function.


Metrics

 
NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://github.com/marshmallow-code/apispec/issues/278 CVE, MITRE Third Party Advisory 
https://github.com/yaml/pyyaml/blob/master/CHANGES CVE, MITRE Release Notes  Third Party Advisory 
https://github.com/yaml/pyyaml/issues/193 CVE, MITRE Third Party Advisory 
https://github.com/yaml/pyyaml/pull/74 CVE, MITRE Patch  Third Party Advisory 
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/ CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/ CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/ CVE, MITRE
https://security.gentoo.org/glsa/202003-45 CVE, MITRE Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-502 Deserialization of Untrusted Data πŸ‘ cwe source acceptance level
NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

13 change records found show changes

CVE Modified by MITRE 6/16/2026 9:12:39 PM

Action Type Old Value New Value
Added Affected
[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]


CVE Modified by CVE 11/20/2024 10:19:53 PM

Action Type Old Value New Value
Added Reference
https://github.com/marshmallow-code/apispec/issues/278


Added Reference
https://github.com/yaml/pyyaml/blob/master/CHANGES


Added Reference
https://github.com/yaml/pyyaml/issues/193


Added Reference
https://github.com/yaml/pyyaml/pull/74


Added Reference
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation


Added Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/


Added Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/


Added Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/


Added Reference
https://security.gentoo.org/glsa/202003-45


CVE Modified by MITRE 5/14/2024 12:31:49 AM

Action Type Old Value New Value

CVE Modified by MITRE 11/06/2023 9:41:54 PM

Action Type Old Value New Value
Added Reference
MITRE https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation [No types assigned]


Added Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/ [No types assigned]


Added Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/ [No types assigned]


Added Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/ [No types assigned]


Removed Reference
MITRE https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation


Removed Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/


Removed Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/


Removed Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/


Modified Analysis by NIST 10/14/2020 9:23:00 AM

Action Type Old Value New Value
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H


Removed CVSS V3
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H


Added CWE
NIST CWE-502


Removed CWE
NIST CWE-20


Changed CPE Configuration
OR
 *cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:*


OR
 *cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:* versions up to (excluding) 5.1


Added CPE Configuration
OR
 *cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*
 *cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
 *cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*


Changed Reference Type
https://github.com/marshmallow-code/apispec/issues/278 No Types Assigned


https://github.com/marshmallow-code/apispec/issues/278 Third Party Advisory


Changed Reference Type
https://github.com/yaml/pyyaml/issues/193 No Types Assigned


https://github.com/yaml/pyyaml/issues/193 Third Party Advisory


Changed Reference Type
https://github.com/yaml/pyyaml/pull/74 Third Party Advisory


https://github.com/yaml/pyyaml/pull/74 Patch, Third Party Advisory


Changed Reference Type
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation No Types Assigned


https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation Third Party Advisory


Changed Reference Type
https://lists.fedoraproject.org/archives/list/[email protected]/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/ No Types Assigned


https://lists.fedoraproject.org/archives/list/[email protected]/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/ Third Party Advisory


Changed Reference Type
https://lists.fedoraproject.org/archives/list/[email protected]/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/ No Types Assigned


https://lists.fedoraproject.org/archives/list/[email protected]/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/ Third Party Advisory


Changed Reference Type
https://lists.fedoraproject.org/archives/list/[email protected]/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/ No Types Assigned


https://lists.fedoraproject.org/archives/list/[email protected]/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/ Third Party Advisory


Changed Reference Type
https://security.gentoo.org/glsa/202003-45 No Types Assigned


https://security.gentoo.org/glsa/202003-45 Third Party Advisory


CPE Deprecation Remap by NIST 5/28/2020 9:21:23 AM

Action Type Old Value New Value
Changed CPE Configuration
OR
 *cpe:2.3:a:pyyaml_project:pyyaml:*:*:*:*:*:*:*:*


OR
 *cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:*


CVE Modified by MITRE 3/19/2020 5:15:14 PM

Action Type Old Value New Value
Added Reference
https://security.gentoo.org/glsa/202003-45 [No Types Assigned]


CVE Modified by MITRE 6/24/2019 3:15:10 PM

Action Type Old Value New Value
Changed Description
In PyYAML before 4.1, the yaml.load() API could execute arbitrary code. In other words, yaml.safe_load is not used.


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.


Added Reference
https://github.com/marshmallow-code/apispec/issues/278 [No Types Assigned]


Added Reference
https://github.com/yaml/pyyaml/issues/193 [No Types Assigned]


Added Reference
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation [No Types Assigned]


CVE Modified by MITRE 3/29/2019 9:29:00 PM

Action Type Old Value New Value
Added Reference
https://lists.fedoraproject.org/archives/list/[email protected]/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/ [No Types Assigned]


CVE Modified by MITRE 3/23/2019 12:29:01 AM

Action Type Old Value New Value
Added Reference
https://lists.fedoraproject.org/archives/list/[email protected]/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/ [No Types Assigned]


CVE Modified by MITRE 3/21/2019 1:29:00 PM

Action Type Old Value New Value
Added Reference
https://lists.fedoraproject.org/archives/list/[email protected]/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/ [No Types Assigned]


Reanalysis by NIST 1/17/2019 8:06:21 AM

Action Type Old Value New Value
Changed CPE Configuration
OR
 *cpe:2.3:a:pyyaml_project:pyyaml:*:*:*:*:*:*:*:* versions up to (excluding) 4.1


OR
 *cpe:2.3:a:pyyaml_project:pyyaml:*:*:*:*:*:*:*:*


Initial Analysis by NIST 8/21/2018 8:15:50 AM

Action Type Old Value New Value
Added CVSS V3
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H


Added CVSS V2
(AV:N/AC:L/Au:N/C:P/I:P/A:P)


Added CWE
CWE-20


Added CPE Configuration
OR
 *cpe:2.3:a:pyyaml_project:pyyaml:*:*:*:*:*:*:*:* versions up to (excluding) 4.1


Changed Reference Type
https://github.com/yaml/pyyaml/blob/master/CHANGES No Types Assigned


https://github.com/yaml/pyyaml/blob/master/CHANGES Release Notes, Third Party Advisory


Changed Reference Type
https://github.com/yaml/pyyaml/pull/74 No Types Assigned


https://github.com/yaml/pyyaml/pull/74 Third Party Advisory


Quick Info

CVE Dictionary Entry:
CVE-2017-18342
NVD Published Date:
06/27/2018
NVD Last Modified:
06/16/2026
Source:
MITRE