GHSA-h72c-w3q3-55qq

Suggest an improvement
Source
https://github.com/advisories/GHSA-h72c-w3q3-55qq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-h72c-w3q3-55qq/GHSA-h72c-w3q3-55qq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h72c-w3q3-55qq
Aliases
Published
2021-06-02T21:45:12Z
Modified
2024-02-16T08:18:06Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
OS Command Injection in jw.util
Details

An exploitable vulnerability exists in the configuration-loading functionality of the jw.util package before 2.3 for Python. When loading a configuration with FromString or FromStream with YAML, one can execute arbitrary Python code, resulting in OS command execution, because safe_load is not used.

Database specific
{
    "cwe_ids":  [
        "CWE-78"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-05-14T20:59:12Z",
    "nvd_published_at":  "2020-05-22T17:15:00Z",
    "severity":  "CRITICAL"
}
References

Affected packages

PyPI / jw-util

Package

Affected ranges

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

Affected versions

-class.*
-class.-jw.util.version.Version-
1.*
1.0dev1
1.0a
1.3.4
1.3.5
1.3.6
1.3.7
1.4
1.4.1
1.4.2
1.5a0
1.5a1
1.5a2
1.5a3
1.5a4
1.5b0
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.6
1.7
1.8
1.9
1.9.1
1.9.2
2.*
2.0a0
2.0a1
2.0a2
2.0a3
2.0b0
2.0
2.0.1
2.1
2.2
Other
2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-h72c-w3q3-55qq/GHSA-h72c-w3q3-55qq.json"