Arbitrary file upload in 23andme Yamale

CVE-2021-38305

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.

Vulnerability class: Unrestricted File Upload

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.025 (84.2th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 84th percentile — 84.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-38305: held from 0.025 to 0.025.

EPSS over last 30 days · oldest: 0.025 · newest: 0.025 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-38305?
CVE-2021-38305 is a high-severity vulnerability in 23andme Yamale, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 7.8/10. Published 2021-08-09.
How severe is CVE-2021-38305?
High severity. CVSS v3 base score is 7.8 out of 10.