High severity7.8NVD Advisory· Published Aug 9, 2021· Updated Jun 17, 2026
CVE-2021-38305
CVE-2021-38305
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
yamalePyPI | < 3.0.8 | 3.0.8 |
Affected products
2- 23andMe/Yamaledescription
Patches
Vulnerability mechanics
References
5- github.com/23andMe/Yamale/pull/165nvdPatchThird Party AdvisoryWEB
- github.com/23andMe/Yamale/releases/tag/3.0.8nvdRelease NotesThird Party AdvisoryWEB
- github.com/advisories/GHSA-435p-f82x-mxwmghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-38305ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/yamale/PYSEC-2021-119.yamlghsaWEB
News mentions
0No linked articles in our index yet.