Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| 23Andme | Yamale | < 3.0.8 |
Related Weaknesses (CWE)
References
- https://github.com/23andMe/Yamale/pull/165PatchThird Party Advisory
- https://github.com/23andMe/Yamale/releases/tag/3.0.8Release NotesThird Party Advisory
- https://github.com/23andMe/Yamale/pull/165PatchThird Party Advisory
- https://github.com/23andMe/Yamale/releases/tag/3.0.8Release NotesThird Party Advisory
FAQ
What is CVE-2021-38305?
CVE-2021-38305 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 expr...
How severe is CVE-2021-38305?
CVE-2021-38305 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-38305?
Check the references section above for vendor advisories and patch information. Affected products include: 23Andme Yamale.