logo

CVE-2021-38305 yamale

Package

Manager: pip
Name: yamale
Vulnerable Version: >=0 <3.0.8

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00635 pctl0.69496

Details

Command injection in Yamale 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.

Metadata

Created: 2021-08-11T15:19:23Z
Modified: 2024-11-19T18:25:44Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-435p-f82x-mxwm/GHSA-435p-f82x-mxwm.json
CWE IDs: ["CWE-434", "CWE-78"]
Alternative ID: GHSA-435p-f82x-mxwm
Finding: F404
Auto approve: 1