CVE-2021-38305

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
Product23andme Yamale
PublishedAug 9, 2021
First seenAug 9, 2021

How to fix

Update
  • 23andme yamale3.0.8 or later
  • yamale3.0.8 or later

Affected products

ProductAffected versionsFixed in
23andme yamalev < 3.0.83.0.8
yamalePyPIv < 3.0.83.0.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.