SecurityContext

CVE-2021-38305: 23andMe Yamale - Remote Code Execution

  • Cve: CVE-2021-38305
  • Name: 23andMe Yamale - Remote Code Execution
  • 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.
  • Impact: Attackers can execute arbitrary system commands on the host running Yamale, potentially leading to full system compromise.
  • Remediation: Update to version 3.0.8 or later to fix the vulnerability.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.0249
  • Epss percentile: 0.84947
  • Assignee: [email protected]
  • Published at: 2021-08-09T21:15:08Z
  • Age in days: 1933
  • Modified at: 2026-06-17T04:01:50Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-38305
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-434Unrestricted Upload of File with Dangerous Type

References

UrlSourceTags
https://github.com/23andMe/Yamale/pull/165nvdPatch, Third Party Advisory
https://github.com/23andMe/Yamale/releases/tag/3.0.8nvdRelease Notes, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
23andme:yamale< 3.0.8nonvd/v1/products/23andme/yamale

Projects

RepositoryLink kindsIndexedUrl
23andMe/Yamalefix, package, pull, releasesyes/v1/repositories/23andMe/Yamale

Index

  • Repositories: 6
  • Repositories high signal: 2
  • Checked, none or zero: packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts