GitHub Advisoryadvisory · PyPI
GHSA-435p-f82x-mxwm Command injection in Yamale
HIGH
Official page ↗
- Aliases
- CVE-2021-38305
- Ecosystem
- PyPI
- Packages
- yamale
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-434, CWE-78
- Reviewed
- 2021-08-10
Affected packages
• PyPI yamale: < 3.0.8 → fixed in 3.0.8
Description
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.
Related
Alias · CVE (1)
- CVE-2021-38305 23andMe Yamale before 3.0.8 allows remote attackers to execute arbitrary code via a crafted schema file. vulnerability