Closed mend-bolt-for-github[bot] closed 11 months 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.
CVE-2021-38305 - High Severity Vulnerability
Vulnerable Library - yamale-2.2.0.tar.gz
A schema and validator for YAML.
Library home page: https://files.pythonhosted.org/packages/c3/2a/7f51596412e473b4281c53661a19c7f50da12373c5fcdef057bb81bf901d/yamale-2.2.0.tar.gz
Path to dependency file: /test/sample-test/requirements.txt
Path to vulnerable library: /test/sample-test/requirements.txt
Dependency Hierarchy: - :x: **yamale-2.2.0.tar.gz** (Vulnerable Library)
Found in HEAD commit: 6f7433f006e282c4f25441e7502b80d73751e38f
Found in base branch: master
Vulnerability Details
23andMe Yamale before 3.0.8 allows remote attackers to execute arbitrary code via a crafted schema file. The schema parser uses eval as part of its processing, and tries to protect from malicious expressions by limiting the builtins that are passed to the eval. When processing the schema, each line is run through Python's eval function to make the validator available. A well-constructed string within the schema rules can execute system commands; thus, by exploiting the vulnerability, an attacker can run arbitrary code on the image that invokes Yamale.
Publish Date: 2021-08-09
URL: CVE-2021-38305
CVSS 3 Score Details (7.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - 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-2021-38305
Release Date: 2021-08-09
Fix Resolution: yamale - 3.0.8
Step up your Open Source Security Game with Mend here