ghc-automation-staging-parallel-12-p3 / 12781457_106

0 stars 0 forks source link

PyYAML-5.3.1.tar.gz: 1 vulnerabilities (highest severity is: 9.8) - autoclosed #3

Closed staging-whitesource-for-github-com[bot] closed 12 hours ago

staging-whitesource-for-github-com[bot] commented 13 hours ago
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: /requirements.txt

Path to vulnerable library: /tmp/ws-ua_20241203234013_QLZJED/python_PKARZY/202412032340141/env/lib/python3.8/site-packages/PyYAML-5.3.1.dist-info

Found in HEAD commit: b90438cefa9bef9564e5dafcc1378af9e3798558

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (PyYAML version) Remediation Possible**
CVE-2020-14343 Critical 9.8 PyYAML-5.3.1.tar.gz Direct PyYAML - 5.4

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2020-14343 ### 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: /requirements.txt

Path to vulnerable library: /tmp/ws-ua_20241203234013_QLZJED/python_PKARZY/202412032340141/env/lib/python3.8/site-packages/PyYAML-5.3.1.dist-info

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

Found in HEAD commit: b90438cefa9bef9564e5dafcc1378af9e3798558

Found in base branch: main

### 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: PyYAML - 5.4

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

staging-whitesource-for-github-com[bot] commented 12 hours ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.