CVE-2013-7323: High severity vulnerability that affects python-gnupg
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.77669%
CWE
-
Published
11/6/2018
Updated
10/24/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
python-gnupg | pip | < 0.3.5 | 0.3.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper shell argument sanitization when invoking GPG. The patch in 0.3.5 introduced a shell_quote() function specifically to address command injection via shell metacharacters. The _make_args method is the logical location where command-line arguments are constructed for GPG subprocess calls. Prior to 0.3.5, this function lacked proper input sanitization, as evidenced by the addition of shell_quote() in the patch and multiple CVE descriptions confirming command injection via argument vectors.