GHSA-435p-f82x-mxwm

Suggest an improvement
Source
https://github.com/advisories/GHSA-435p-f82x-mxwm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-435p-f82x-mxwm/GHSA-435p-f82x-mxwm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-435p-f82x-mxwm
Aliases
Published
2021-08-11T15:19:23Z
Modified
2024-11-19T18:33:15.429434Z
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
  • 8.5 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Command injection in Yamale
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.

Database specific
{
    "nvd_published_at": "2021-08-09T21:15:00Z",
    "cwe_ids": [
        "CWE-434",
        "CWE-78"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-10T17:33:14Z"
}
References

Affected packages

PyPI / yamale

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.8

Affected versions

1.*

1.1.3
1.2.0
1.2.1
1.3.0
1.3.1
1.4.0
1.4.1
1.5.0
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
1.10.0
1.10.1

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