Security mailing lists by PureSourceCode

CVE-2021-38305

HIGH 7.8CVSS 3.1

Command injection in Yamale

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.

Published
9 Aug 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-434CWE-78
Also known as
GHSA-435p-f82x-mxwmPYSEC-2021-119
Sources
NVDJSONOSV GHSA-435p-f82x-mxwmJSONOSV PYSEC-2021-119JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD 23andme yamale
cpe:2.3:a:23andme:yamale:*:*:*:*:*:*:*:*
< 3.0.8 3.0.8
OSV PyPI yamale < 3.0.8 3.0.8

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 9 Aug 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Aug 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.