GHSA-r3vr-prwv-86g9

Suggest an improvement
Source
https://github.com/advisories/GHSA-r3vr-prwv-86g9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-r3vr-prwv-86g9/GHSA-r3vr-prwv-86g9.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-r3vr-prwv-86g9
Aliases
Published
2018-11-06T23:14:39Z
Modified
2024-10-25T21:18:50Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
python-gnupg's shell_quote function does not properly quote strings
Details

The shell_quote function in python-gnupg 0.3.5 does not properly quote strings, which allows context-dependent attackers to execute arbitrary code via shell metacharacters in unspecified vectors, as demonstrated using "$(" command-substitution sequences, a different vulnerability than CVE-2014-1928. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7323.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-20"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:53:37Z"
}
References

Affected packages

PyPI / python-gnupg

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.3.5
Fixed
0.3.6

Affected versions

0.*

0.3.5