Skip to main content
← All vulnerabilities
CVE-2021-38305PYSEC-2021-119GHSA-435P-F82X-MXWM

23andMe Yamale before 3.0.8 allows remote attackers to execute arbitrary code via a crafted schema file.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.8
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • yamalePyPI

    fixed in 3.0.8

References 2

GitHub · 23andMe/Yamale