GHSA-3qr5-h7w4-3gx3

Suggest an improvement
Source
https://github.com/advisories/GHSA-3qr5-h7w4-3gx3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3qr5-h7w4-3gx3/GHSA-3qr5-h7w4-3gx3.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-3qr5-h7w4-3gx3
Aliases
Published
2022-05-14T01:15:39Z
Modified
2024-09-20T16:40:52.394790Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Donfig Command Injection in collect_yaml method
Details

An issue was discovered in Donfig 0.3.0. There is a vulnerability in the collect_yaml method in config_obj.py. It can execute arbitrary Python commands, resulting in command execution.

Database specific
{
    "nvd_published_at": "2019-03-21T20:29:00Z",
    "github_reviewed_at": "2023-07-19T19:52:48Z",
    "cwe_ids": [
        "CWE-77"
    ],
    "github_reviewed": true,
    "severity": "CRITICAL"
}
References

Affected packages

PyPI / donfig

Package

Affected ranges

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

Affected versions

0.*

0.1.0
0.1.1
0.1.2
0.2.0
0.3.0

Database specific

last_known_affected_version_range

"<= 0.3.0"

source

"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3qr5-h7w4-3gx3/GHSA-3qr5-h7w4-3gx3.json"