CodeChung / codechung

0 stars 0 forks source link

CVE-2020-14343 (Critical) detected in PyYAML-5.2.tar.gz, PyYAML-5.3.1.tar.gz #34

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2020-14343 - Critical Severity Vulnerability

Vulnerable Libraries - PyYAML-5.2.tar.gz, PyYAML-5.3.1.tar.gz

PyYAML-5.2.tar.gz

YAML parser and emitter for Python

Library home page: https://files.pythonhosted.org/packages/8d/c9/e5be955a117a1ac548cdd31e37e8fd7b02ce987f9655f5c7563c656d5dcb/PyYAML-5.2.tar.gz

Path to vulnerable library: /awscli-bundle/awscli-bundle/packages/PyYAML-5.2.tar.gz,/awscli-bundle/packages/PyYAML-5.2.tar.gz

Dependency Hierarchy: - :x: **PyYAML-5.2.tar.gz** (Vulnerable Library)

PyYAML-5.3.1.tar.gz

YAML parser and emitter for Python

Library home page: https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz

Path to dependency file: /tmp/ws-ua_20220122232947_MZFNWS/archiveExtraction_KXRZMM/PZSZKX/20220122232947/codechung_depth_1/awscli-bundle/awscli-bundle/packages/awscli-1.18.125.tar/awscli-1.18.125

Path to vulnerable library: /awscli-bundle/awscli-bundle/packages/PyYAML-5.3.1.tar.gz,/awscli-bundle/awscli-bundle/packages/awscli-1.18.125.tar/awscli-1.18.125,/awscli-bundle/packages/PyYAML-5.3.1.tar.gz,/awscli-bundle/packages/awscli-1.18.125.tar/awscli-1.18.125

Dependency Hierarchy: - :x: **PyYAML-5.3.1.tar.gz** (Vulnerable Library)

Found in HEAD commit: de1c2b0d1a23367b161c2d995029f9693bd8a155

Found in base branch: master

Vulnerability 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.

Publish Date: 2021-02-09

URL: CVE-2020-14343

CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14343

Release Date: 2021-02-09

Fix Resolution: 5.4


Step up your Open Source Security Game with Mend here