CVE-2017-18342
CVSS V2 High 7.5
CVSS V3 Critical 9.8
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.
Overview
- CVE ID
- CVE-2017-18342
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2018-06-27T12:29:00
- Last Modified Date
- 2020-10-14T13:23:00
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:* | 1 | OR | 5.1 | |
cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/yaml/pyyaml/pull/74 | Patch Third Party Advisory |
https://github.com/yaml/pyyaml/blob/master/CHANGES | Release Notes Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/ | Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/ | Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/ | Third Party Advisory |
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation | Third Party Advisory |
https://github.com/marshmallow-code/apispec/issues/278 | Third Party Advisory |
https://github.com/yaml/pyyaml/issues/193 | Third Party Advisory |
https://security.gentoo.org/glsa/202003-45 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-18342 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18342 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 17:08:54 | Added to TrackCVE | |||
2022-12-03 08:45:34 | 2018-06-27T12:29Z | 2018-06-27T12:29:00 | CVE Published Date | updated |
2022-12-03 08:45:34 | 2020-10-14T13:23:00 | CVE Modified Date | updated | |
2022-12-03 08:45:34 | Analyzed | Vulnerability Status | updated |