CVE-2021-38305

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-38305
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38305.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-38305
Aliases
Published
2021-08-09T21:15:08Z
Modified
2025-01-14T09:29:36.677988Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/23andme/yamale

Affected ranges

Type
GIT
Repo
https://github.com/23andme/yamale
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0
1.0.1
1.0.2
1.0b0
1.0b1
1.0b2
1.0b3
1.0b4
1.0b5
1.0b6
1.1
1.1.1
1.1.2
1.1.3
1.10.0
1.10.1
1.2.1
1.3.0
1.3.1
1.4.0
1.4.1
1.5.0
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.6.0
1.6.1
1.6.2
1.6.3
1.6.4
1.7.0
1.7.1
1.8.0
1.8.1
1.9.0

2.*

2.0
2.0.1
2.1.0
2.2.0

3.*

3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7