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.
References
Link Resource
https://github.com/23andMe/Yamale/pull/165 Patch Third Party Advisory
https://github.com/23andMe/Yamale/releases/tag/3.0.8 Release Notes Third Party Advisory
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2021-08-09T20:48:52

Updated: 2021-08-09T20:48:52

Reserved: 2021-08-09T00:00:00


Link: CVE-2021-38305

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2021-08-09T21:15:08.567

Modified: 2021-08-17T18:46:13.463


Link: CVE-2021-38305

JSON object: View

cve-icon Redhat Information

No data.

CWE