CVE-2021-38305
Last modified
CVE-2021-38305 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 2.49% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 23andme | Yamale | < 3.0.8 |
References
- https://github.com/23andMe/Yamale/pull/165Patch, Third Party Advisory
- https://github.com/23andMe/Yamale/releases/tag/3.0.8Release Notes, Third Party Advisory
- https://github.com/23andMe/Yamale/pull/165Patch, Third Party Advisory
- https://github.com/23andMe/Yamale/releases/tag/3.0.8Release Notes, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-38305?
How severe is CVE-2021-38305?
How do I fix CVE-2021-38305?
Are you affected by CVE-2021-38305?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
