CVE-2021-38305
CVSS V2 High 9.3
CVSS V3 High 7.8
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.
Overview
- CVE ID
- CVE-2021-38305
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-08-09T21:15:08
- Last Modified Date
- 2021-08-17T18:46:13
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:23andme:yamale:*:*:*:*:*:*:*:* | 1 | OR | 3.0.8 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:C/I:C/A:C
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- COMPLETE
- Integrity Impact
- COMPLETE
- Availability Impact
- COMPLETE
- Base Score
- 9.3
- Severity
- HIGH
- Exploitability Score
- 8.6
- Impact Score
- 10
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.8
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/23andMe/Yamale/releases/tag/3.0.8 | Release Notes Third Party Advisory |
https://github.com/23andMe/Yamale/pull/165 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-38305 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38305 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:56:51 | Added to TrackCVE | |||
2022-12-05 07:45:45 | 2021-08-09T21:15Z | 2021-08-09T21:15:08 | CVE Published Date | updated |
2022-12-05 07:45:45 | 2021-08-17T18:46:13 | CVE Modified Date | updated | |
2022-12-05 07:45:45 | Analyzed | Vulnerability Status | updated |